From 7fc3825c30876ce537fc7dad39563df4f3b3cec1 Mon Sep 17 00:00:00 2001 From: isn Date: Mon, 25 Mar 2019 20:28:37 +0300 Subject: [PATCH] #refs 1886 --- src/HYDROData/HYDROData_DTM.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } -- 2.39.2