Skip to content

Commit

Permalink
Merge pull request #717 from lsst/tickets/DM-41180
Browse files Browse the repository at this point in the history
DM-41180 Don't count bad kernel candidates that are ignored against the maximum
  • Loading branch information
isullivan authored Nov 1, 2023
2 parents 38bcf06 + 594a2b4 commit 2c44ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/math/SpatialCell.cc
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ void SpatialCell::visitCandidates(CandidateVisitor *visitor, int const nMaxPerCe
visitor->processCandidate((*candidate).get());
} catch (lsst::pex::exceptions::Exception &e) {
if (ignoreExceptions) {
;
--i; // Don't count the candidate if it raises an exception
} else {
LSST_EXCEPT_ADD(e, "Visiting candidate");
throw e;
Expand Down

0 comments on commit 2c44ac4

Please sign in to comment.