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

Fix SingularMatrix problem in LM algorithm #1319

Merged
merged 2 commits into from
Dec 2, 2024
Merged

Conversation

rmjarvis
Copy link
Member

imsim unit tests are failing with galsim 2.6 because of the new hand-rolled LM solver. The problem is that some iterations can end up with a singular matrix. My solution here is to catch that exception and roll back lambda a bit. This seems to work.

@rmjarvis rmjarvis added numerics Involving details of the numerical algorithms for performing some calculation(s) wcs Related to WCS coordinate transformations labels Nov 22, 2024
@rmjarvis rmjarvis added this to the v2.6 milestone Nov 22, 2024
@rmjarvis rmjarvis requested a review from jmeyers314 November 22, 2024 01:39
@jmeyers314
Copy link
Member

LGTM!

@rmjarvis rmjarvis merged commit 2c9266b into releases/2.6 Dec 2, 2024
10 checks passed
@rmjarvis rmjarvis deleted the singular_wcs branch December 2, 2024 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
numerics Involving details of the numerical algorithms for performing some calculation(s) wcs Related to WCS coordinate transformations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants