Skip to content

Compare FitMethod enum value to correct string#46

Open
rvighne wants to merge 1 commit intoJaciBrunning:masterfrom
rvighne:patch-1
Open

Compare FitMethod enum value to correct string#46
rvighne wants to merge 1 commit intoJaciBrunning:masterfrom
rvighne:patch-1

Conversation

@rvighne
Copy link

@rvighne rvighne commented Apr 5, 2018

Previously, the native JNI code compared the FitMethod enum value with the strings "FIT_HERMITE_CUBIC" and "FIT_HERMITE_QUINTIC," however these should be "HERMITE_CUBIC" and "HERMITE_QUINTIC" respectively (to match the names in the Java source code). This caused a bug in which it's impossible to select the quintic method.

I corrected this in the JNI code, not the Java code, so existing users of library don't need to make changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments