Skip to content

Commit b4472d9

Browse files
committed
Restored support of old conclusion syntax (={NaN}) in expert regression rules.
1 parent acd799e commit b4472d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

adaa.analytics.rules/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
id 'java'
66
}
77

8-
version = '2.1.21'
8+
version = '2.1.22'
99
java {
1010
sourceCompatibility = JavaVersion.VERSION_1_8
1111
}

adaa.analytics.rules/src/main/java/adaa/analytics/rules/logic/representation/RuleParser.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public static ElementaryCondition parseElementaryCondition(String s, IAttributes
199199
if (matcher.find()) {
200200
String value = matcher.group("discrete");
201201
if (value.equals("NaN")) {
202-
valueSet = new UndefinedSet();
202+
valueSet = new SingletonSet(NaN, null);
203203
} else {
204204
valueSet = new SingletonSet(Double.parseDouble(value), null);
205205
}

0 commit comments

Comments
 (0)