]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
patch for warning
authorasl <asl@opencascade.com>
Wed, 14 Oct 2015 08:28:12 +0000 (11:28 +0300)
committerasl <asl@opencascade.com>
Wed, 14 Oct 2015 08:28:12 +0000 (11:28 +0300)
src/HYDROData/HYDROData_ShapesTool.cxx

index f99f78cd790a7fd6ea7b951c356d7100522e17dc..c37bcb7077f68ba77c221cf2c71a5474784a4bd9 100644 (file)
@@ -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,