-
Notifications
You must be signed in to change notification settings - Fork 6
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
Linear solves with cached factorization sometimes gives different answers #3
Comments
I'll take a look at this, thanks! |
@DrTimothyAldenDavis do you have any thoughts here? Is this just a failed refactor? I'm not sure how low I'm not immediately seeing any errors in the wrapper, but I'll keep looking. |
That is a low number. You're likely seeing roundoff errors amplified into garbage because the matrix is too ill conditioned. Check the condition # of the matrix. |
Using the newly wrapped |
I think this should likely be re-opened. why should |
klu_factor does numerical partial pivoting. klu_refactor does not. If the change in values requires a revision to the numerical pivoting, then klu_refactor should not be used. |
When performing a linear solve, I occasionally get the incorrect answer only if I use a cached factorization. It is somewhat difficult to reliably reproduce this, but here's an example (the only minimal working example I could find is rather large...). I am using v0.2.3.
Thank you for the great work!
The text was updated successfully, but these errors were encountered: