-
Notifications
You must be signed in to change notification settings - Fork 29
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
Assertion failed #125
Comments
Indeed, the line looks incorrect to me. debug_assert!(*p.iter().max().unwrap_or(&0) < x.len()); If p and x are both empty, the unsafe block is a harmless no-op, but the assert reduces to debug_assert!(p.is_empty() || *p.iter().max().unwrap() < x.len()); What do you think @goulart-paul ? |
Yes, I agree. Fixed in #138. Apologies for the delay. I was overtaken by term time teaching and only coming back to fix things here now. |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I started using clarabel in a project and managed to make the following assertion fail:
Clarabel.rs/src/qdldl/qdldl.rs
Line 741 in d1ca25d
Unfortunately I don't have a test case to reproduce it, as I am generating the LP problems dynamically and they are massive.
The text was updated successfully, but these errors were encountered: