Index: DamEngine/trunk/src/Deltares.DamEngine.Data/Standard/ComputeDoubles.cs
===================================================================
diff -u -r6404 -r7077
--- DamEngine/trunk/src/Deltares.DamEngine.Data/Standard/ComputeDoubles.cs (.../ComputeDoubles.cs) (revision 6404)
+++ DamEngine/trunk/src/Deltares.DamEngine.Data/Standard/ComputeDoubles.cs (.../ComputeDoubles.cs) (revision 7077)
@@ -1,4 +1,4 @@
-// Copyright (C) Stichting Deltares 2025. All rights reserved.
+// Copyright (C) Stichting Deltares 2026. All rights reserved.
//
// This file is part of the Dam Engine.
//
@@ -65,7 +65,7 @@
/// Uses a tolerance of 1e-3.
public static bool IsLessThan(this double aValue1, double aValue2, double tolerance = cEpsilon)
{
- return !IsGreaterThanOrEqualTo(aValue1, aValue2, tolerance);
+ return !aValue1.IsGreaterThanOrEqualTo(aValue2, tolerance);
}
///
@@ -75,7 +75,7 @@
/// Uses a tolerance of 1e-3.
public static bool IsLessThanOrEqualTo(this double aValue1, double aValue2, double tolerance = cEpsilon)
{
- return !IsGreaterThan(aValue1, aValue2, tolerance);
+ return !aValue1.IsGreaterThan(aValue2, tolerance);
}
///