Skip to content
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

correcting indexing for LU decomposition #663

Closed

Conversation

K20shores
Copy link
Collaborator

Closes #625

See the issue for more detail, but this fixes a bug where the L or U matrix would sometimes not be set to the value in the jacobian matrix, leading to a drifting value of the LU matrices. This would lead to incorrect results and eventually the solver would stop converging. We noticed this in the performance repository and learned that we couldn't reuse the state matrix.

We started setting the LU matrices to zero back in #410, but later removed in #594 when we thought it was just an issue around a vectorized normalized error function. It wasn't.

@K20shores K20shores linked an issue Sep 19, 2024 that may be closed by this pull request
@sjsprecious
Copy link
Collaborator

@codecov-commenter
Copy link

codecov-commenter commented Sep 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.29%. Comparing base (da3f40a) to head (7e6a4b2).
Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #663      +/-   ##
==========================================
+ Coverage   92.61%   93.29%   +0.67%     
==========================================
  Files          49       53       +4     
  Lines        3536     3610      +74     
==========================================
+ Hits         3275     3368      +93     
+ Misses        261      242      -19     
Flag Coverage Δ
93.29% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@K20shores K20shores closed this Sep 20, 2024
@K20shores K20shores deleted the 625-some-data-in-the-state-variable-may-be-corrupt branch September 24, 2024 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some data in the State variable may be corrupt
3 participants