Skip to content

Commit

Permalink
Fix reformatting problem in star.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
bwdev01 committed Dec 8, 2024
1 parent 92e7100 commit cf5b178
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/star.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1031,9 +1031,8 @@ bool GuideStar::AutoFind(const usImage& image, int extraEdgeAllowance, int searc
// We're repeating the find, so we're vulnerable to hot pixels and creation of unwanted duplicates
if (tmp.WasFound() && tmp.SNR >= minSNR)
{
bool duplicate =
std::find_if(foundStars.begin(), foundStars.end(),
[&tmp](const GuideStar& other) { return CloseToReference(tmp, other); }) != foundStars.end();
bool duplicate = std::find_if(foundStars.begin(), foundStars.end(), [&tmp](const GuideStar& other)
{ return CloseToReference(tmp, other); }) != foundStars.end();

if (!duplicate)
{
Expand Down

0 comments on commit cf5b178

Please sign in to comment.