Salome HOME
patch for correct compilation (Windows)
[modules/hydro.git] / src / HYDROData / HYDROData_Bathymetry.cxx
index 34bd4a21d2c0dff8e6a939c9bbdaf48137852717..c62352ef36f4412e359ef28151d9a45d3c4a92ea 100644 (file)
@@ -342,7 +342,7 @@ bool interpolZtriangle(const gp_XY& point, vtkPolyData* delaunay2D, vtkIdList* t
   double l2  = 1 -l0 -l1;
   //DEBTRACE("l0, l1, l2: " << l0  << " "  << l1  << " "  << l2);
 
-  if ((l0>=0) and (l0<=1) and (l1>=0) and (l1<=1) and (l2>=0) and (l2<=1))
+  if ((l0>=0) && (l0<=1) && (l1>=0) && (l1<=1) && (l2>=0) && (l2<=1))
     {
       z = l0*v[0][2] + l1*v[1][2] + l2*v[2][2];
       return true;