diff --git a/VectoCommon/VectoCommon/Utils/DoubleExtensionMethods.cs b/VectoCommon/VectoCommon/Utils/DoubleExtensionMethods.cs index d9329db771fad24a1dabeba6bb63b7ffcc72de10..fb05531236dd1278e35c5803fe0fee2b32b168de 100644 --- a/VectoCommon/VectoCommon/Utils/DoubleExtensionMethods.cs +++ b/VectoCommon/VectoCommon/Utils/DoubleExtensionMethods.cs @@ -139,7 +139,7 @@ namespace TUGraz.VectoCommon.Utils /// <returns></returns> public static bool IsPositive(this double self, double tolerance = Tolerance) { - return self.IsGreaterOrEqual(0.0, tolerance); + return self >= -tolerance; } /// <summary>