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

DM-40652: Make SVD calculation optional #16

Merged
merged 2 commits into from Dec 9, 2023
Merged

Conversation

cmsaunders
Copy link
Collaborator

No description provided.

@arunkannawadi
Copy link
Member

Looks good to me! Just some minor optional comments.

@@ -1240,75 +1240,77 @@ double CoordAlign::fitOnce(bool reportToCerr, bool inPlace) {
// SVD, which is what we want anyway to find the non-pos-def values

if (choleskyFails) {
cerr << "Caught exception during Cholesky" << endl;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is dropping this line intentional?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, because you just get the same message again in the std::runtime_error(), so this std::cerr message isn't necessary.

@@ -507,6 +507,21 @@ void WCSFit::fit(double maxError, int minFitExposures, double reserveFraction, i
}
if (verbose >= 0) std::cerr << "# Clipped " << nclip << " matches " << std::endl;

auto badExposures = findUnderpopulatedExposures<Astro>(minFitExposures, matches, exposures,
extensions, mapCollection);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The second line isn't indented correctly.

@cmsaunders cmsaunders merged commit e5187c2 into lsst-dev Dec 9, 2023
@cmsaunders cmsaunders deleted the tickets/DM-40652 branch December 9, 2023 01:43
@mwittgen mwittgen restored the tickets/DM-40652 branch December 9, 2023 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants