Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Meakk committed Jan 3, 2025
1 parent 550572e commit 5450f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/src/image.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ double image::compare(const image& reference) const
imDiff->SetThreshold(0);
imDiff->SetInputData(this->Internals->Image);
imDiff->SetImageData(reference.Internals->Image);
imDiff->UpdateInformation();
imDiff->Update();
double error = imDiff->GetThresholdedError();
return error / 1000.0;
#endif
Expand Down

0 comments on commit 5450f0b

Please sign in to comment.