Salome HOME
Fix for the bug #45: check and warning when the same image is used in 2 arguments.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_VTKPrsBathymetry.cxx
index ed6a9fb41f05bba420eb759c8e9b90c684781817..31817f2c4b09d4e5245763f62d778ea4b04caba1 100644 (file)
@@ -87,7 +87,7 @@ void HYDROGUI_VTKPrsBathymetry::compute()
 
       vtkVertex* aVertex = vtkVertex::New();
 
-      int aZ;
+      double aZ;
       int anInvalidZ = InvalidZValue();
       for (int i = 0; i < aNbPoints; i++ )
       {