-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect ffi-binding to gsl_multifit_function_fdf #82
Comments
I'm currently writing the script to check that the Rust bindings are correct. I realized that a few types/functions had mismatching definitions compared to the C one. |
Can the ffi bindings be generated by |
Yes but I don't like the generated code. |
Closed
This issue was fixed when we (finally) switched to automated FFI code generation. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
GSL header
gsl_multifit_nlin.h
specifiesgsl_multifit_function_fdf
asbut Rust ffi binding misses last two fields:
rust-GSL/src/ffi/solvers.rs
Lines 150 to 168 in b06c673
I noticed this when saw undefined behaviour of my Rust code: some of my variables are changed by
MultiFitFSolver::set()
, but I didn't passed them there. Probably it also can cause problems described by #67The text was updated successfully, but these errors were encountered: