Skip to content

Commit

Permalink
Discard frames with large errors
Browse files Browse the repository at this point in the history
  • Loading branch information
SeverinDenisenko committed Jan 21, 2025
1 parent 82351ed commit af17317
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions astroimsumlib/summation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ void delaney_frame_summator::sum(frame fr)

if(norm(matcher.get_error_x()) > 1.0 || norm(matcher.get_error_y()) > 1.0) {
std::cerr << "imsum: error is too large, skipping!!!" << std::endl;
return;
}

pool.run_parallel_works(
Expand Down

0 comments on commit af17317

Please sign in to comment.