From d63ec1eddec44334a4173fb11bd78ac1beb83eb3 Mon Sep 17 00:00:00 2001 From: ageay Date: Thu, 4 Apr 2013 14:26:30 +0000 Subject: [PATCH] MEDMEM suppression --- src/INTERP_KERNELTest/MeshTestToolkit.txx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.39.2