Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
flomnes committed Jul 1, 2024
1 parent c75f4fa commit 151a00e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <yuni/core/math.h>

//! The minimal allowed value for hurdle costs when not null
#define LINK_MINIMAL_HURDLE_COSTS_NOT_nullptr 0.005
#define LINK_MINIMAL_HURDLE_COSTS_NOT_NULL 0.005

using namespace Yuni;

Expand Down Expand Up @@ -129,7 +129,7 @@ bool connectionParameters::cellValue(int x, int y, const Yuni::String& value)
double v;
if (!value.to(v))
return false;
if (Math::Abs(v) < LINK_MINIMAL_HURDLE_COSTS_NOT_nullptr)
if (Math::Abs(v) < LINK_MINIMAL_HURDLE_COSTS_NOT_NULL)
return Renderer::Matrix<>::cellValue(x, y, "0");
break;
}
Expand Down

0 comments on commit 151a00e

Please sign in to comment.