From: asl Date: Wed, 14 Oct 2015 08:28:12 +0000 (+0300) Subject: patch for warning X-Git-Tag: v1.5~130 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4c1f98cf4d3a0996833b8b674b617629cf641246;p=modules%2Fhydro.git patch for warning --- diff --git a/src/HYDROData/HYDROData_ShapesTool.cxx b/src/HYDROData/HYDROData_ShapesTool.cxx index f99f78cd..c37bcb70 100644 --- a/src/HYDROData/HYDROData_ShapesTool.cxx +++ b/src/HYDROData/HYDROData_ShapesTool.cxx @@ -95,7 +95,7 @@ bool HYDROData_ShapesTool::IsVerticesEquals( const TopoDS_Vertex& theFirstVert, aSecondPoint.SetZ( 0.0 ); } - return aFirstPoint.IsEqual( aSecondPoint, Precision::Confusion() ); + return aFirstPoint.IsEqual( aSecondPoint, Precision::Confusion() )==Standard_True; } TopoDS_Shape HYDROData_ShapesTool::Translated( const TopoDS_Shape& theShape,