Skip to content

Commit

Permalink
Restored support of old conclusion syntax (={NaN}) in expert regres…
Browse files Browse the repository at this point in the history
…sion rules.
  • Loading branch information
agudys committed Nov 18, 2024
1 parent acd799e commit b4472d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion adaa.analytics.rules/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
id 'java'
}

version = '2.1.21'
version = '2.1.22'
java {
sourceCompatibility = JavaVersion.VERSION_1_8
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public static ElementaryCondition parseElementaryCondition(String s, IAttributes
if (matcher.find()) {
String value = matcher.group("discrete");
if (value.equals("NaN")) {
valueSet = new UndefinedSet();
valueSet = new SingletonSet(NaN, null);
} else {
valueSet = new SingletonSet(Double.parseDouble(value), null);
}
Expand Down

0 comments on commit b4472d9

Please sign in to comment.