Salome HOME
debug of tests for DTM
[modules/hydro.git] / src / HYDROData / HYDROData_ShapesTool.cxx
index 478a6d4cdda1e1d694dbe43ebc447990779c8449..c37bcb7077f68ba77c221cf2c71a5474784a4bd9 100644 (file)
@@ -1,8 +1,4 @@
-// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
-//
-// Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
+// Copyright (C) 2014-2015  EDF-R&D
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
@@ -99,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,