-
-
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
multifit_solver example broken: covariance matrix must be square and match second dimension of jacobian #67
Comments
This is what happens when printing
Segfault on |
That's surprising... I'll have to take a look and see what's failing. |
In case it's relevant, I am on Arch Linux using I also encountered an error with integration:
|
That's getting weirder and weirder... |
@GuillaumeGomez Did you solve this issue? I have the same problem with the example as well. And the optimization seems weird as well. It only run one iteration and then exit. |
I can't reproduce the error so I can't solve it... :-/ |
@GuillaumeGomez What is the version of gsl are you using? I am using gsl 2.4. Is that old? I saw the newest version is 2.6. |
I removed GSL libs last time so I can't tell. Maybe it changed in the meantime in the repositories... If I have time and motivation, I'll try to take a look. |
cool, thank you for your response |
Don't hesitate to ping me in a month or so if you see no changes here. :) |
Same problem here. The first, it makes only one iteration, because s.dx() is all zeros (but s.x() changes during the only iteration). The second, I see the same error about covariant matrix. I use macOS and GSL 2.6. |
Also I can reproduce it in docker run --rm -ti rust:buster
apt update && apt install -y libgsl-dev
git clone https://github.com/GuillaumeGomez/rust-GSL && cd rust-GSL
cargo run --example multifit_solver |
Can reproduce this also on Ubuntu 20.04 & GSL 2.5. That is, the |
@SebastianSchafer see #82, we have UB here because of inconsistent binding with GSL 2.x |
I am trying out the GSL bindings, and wanted to run/build the
multifit_solver
example. Right off the bat I am getting the following error (following the otherstdout
at the beginning). Any idea what's going on?The text was updated successfully, but these errors were encountered: