From: ageay Date: Thu, 4 Apr 2013 14:26:30 +0000 (+0000) Subject: MEDMEM suppression X-Git-Tag: V7_3_1b1~448 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a4a7ff7813b92291538bc4ccec485681b5b18861;p=tools%2Fmedcoupling.git MEDMEM suppression --- diff --git a/src/INTERP_KERNELTest/MeshTestToolkit.txx b/src/INTERP_KERNELTest/MeshTestToolkit.txx index 9e4660741..0c551bbfa 100644 --- a/src/INTERP_KERNELTest/MeshTestToolkit.txx +++ b/src/INTERP_KERNELTest/MeshTestToolkit.txx @@ -160,7 +160,7 @@ namespace INTERP_TEST for(int i = 0; i < sMesh.getNumberOfCells(); ++i) { - const double sum_row = sumRow(m, i+1); + const double sum_row = sumRow(m, i); if(!epsilonEqualRelative(sum_row, fabs(sVol[i]), _precision)) { LOG(1, "Source volume inconsistent : vol of cell " << i << " = " << sVol[i] << " but the row sum is " << sum_row ); @@ -283,7 +283,7 @@ namespace INTERP_TEST bool MeshTestToolkit::testDiagonal(const IntersectionMatrix& m) const { LOG(1, "Checking if matrix is diagonal" ); - int i = 1; + int i = 0; bool isDiagonal = true; for(IntersectionMatrix::const_iterator iter = m.begin() ; iter != m.end() ; ++iter) {