From: isn Date: Mon, 25 Mar 2019 17:28:37 +0000 (+0300) Subject: #refs 1886 X-Git-Tag: SH_V2_2_0~99^2~26^2~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7fc3825c30876ce537fc7dad39563df4f3b3cec1;p=modules%2Fhydro.git #refs 1886 --- diff --git a/src/HYDROData/HYDROData_DTM.cxx b/src/HYDROData/HYDROData_DTM.cxx index 84951093..ec4537bb 100644 --- a/src/HYDROData/HYDROData_DTM.cxx +++ b/src/HYDROData/HYDROData_DTM.cxx @@ -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"); }