From: ageay Date: Thu, 4 Apr 2013 14:26:30 +0000 (+0000) Subject: MEDMEM suppression X-Git-Tag: EndAGWork4413~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d63ec1eddec44334a4173fb11bd78ac1beb83eb3;p=modules%2Fmed.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) {