]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
#refs 1886
authorisn <isn@opencascade.com>
Mon, 25 Mar 2019 17:28:37 +0000 (20:28 +0300)
committerisn <isn@opencascade.com>
Mon, 25 Mar 2019 17:29:02 +0000 (20:29 +0300)
src/HYDROData/HYDROData_DTM.cxx

index 84951093fb07c6b0d2788249019ba87eabdedab7..ec4537bbfb6f28359997262732b5f7572683913a 100644 (file)
@@ -771,7 +771,7 @@ void HYDROData_DTM::ProfileDiscretization( const Handle(HYDROData_Profile)& theP
 
   {
     bool PlatoCase = false;
-    if (Abs(aFirst.Y() - aLast.Y() > PREC))
+    if (Abs(aFirst.Y() - aLast.Y()) > PREC)
     {
       warnings.insert("One of the extreme points is higher than another");
     }