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 b76a667 commit 551c28a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/F3DStarter.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1023,9 +1023,9 @@ int F3DStarter::Start(int argc, char** argv)
f3d::image img = window.renderToImage(this->Internals->AppOptions.NoBackground);
f3d::image ref(reference);
f3d::image diff;
double error;
double error = img.compare(ref);
const double& threshold = this->Internals->AppOptions.RefThreshold;
if (img.compare(ref) > threshold)
if (error > threshold)
{
if (output.empty())
{
Expand Down

0 comments on commit 551c28a

Please sign in to comment.