-
Notifications
You must be signed in to change notification settings - Fork 120
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
The createOsqpSparseMatrix does not correctly handle empty sparse matrix. #142
Comments
Thanks @Levi-Armstrong for reporting the problem. fyi @GiulioRomualdi @S-Dafarra |
I believe this line should be updated to the following.
|
It looks like it may be a bug in 0.6.X
Master:
|
I created this method and used it within osqp_eigen to solve the issue.
|
Then updated the call below.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When setting the hessian which has zero nonZero entries it creates an osqp hessian with one value initialized to garbage.
Current:
Expected:
The text was updated successfully, but these errors were encountered: