X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_VTKPrsBathymetry.cxx;h=6833acec714a898feb6e226e969ab106b4f9303c;hb=9082efb75ca2505f8b4c5096d37e8d87491cd5d9;hp=08f6ef08da0b5d0361a22bf73065a16c41944848;hpb=5a7f3687b5f4342d1cdce198de0e01e6558d1db4;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_VTKPrsBathymetry.cxx b/src/HYDROGUI/HYDROGUI_VTKPrsBathymetry.cxx index 08f6ef08..6833acec 100644 --- a/src/HYDROGUI/HYDROGUI_VTKPrsBathymetry.cxx +++ b/src/HYDROGUI/HYDROGUI_VTKPrsBathymetry.cxx @@ -87,7 +87,7 @@ void HYDROGUI_VTKPrsBathymetry::compute() double aZ; int anInvalidZ = InvalidZValue(); - for (int i = 1; i <= aNbPoints; i++ ) + for (int i = 0; i < aNbPoints; i++ ) { anAltPnt = anAltPoints[i]; aZ = anAltPnt.Z;