Skip to content

Commit

Permalink
Fixed the version threshold for version transformations
Browse files Browse the repository at this point in the history
  • Loading branch information
vruusmann committed Dec 4, 2024
1 parent 8a453b1 commit cae7a56
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified sklearn2pmml/resources/sklearn2pmml-1.0-SNAPSHOT.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion src/main/java/com/sklearn2pmml/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private void run() throws Exception {
}
} // End if

if(this.version != null && this.version.compareTo(Version.PMML_4_4) < 0){
if(this.version != null && this.version.compareTo(Version.XPMML) < 0){
VersionStandardizer versionStandardizer = new VersionStandardizer();
versionStandardizer.applyTo(pmml);

Expand Down

0 comments on commit cae7a56

Please sign in to comment.