]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Small modif
authorAnthony Geay <anthony.geay@edf.fr>
Mon, 6 Feb 2017 15:44:09 +0000 (16:44 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Mon, 6 Feb 2017 15:44:09 +0000 (16:44 +0100)
src/MEDCoupling/MEDCouplingFieldDiscretization.cxx

index 32bb5511e3956c74076bfcebad286888578dfc06..6cb1d512a16834cb9de4e9d80da79db38738c8cc 100644 (file)
@@ -1679,10 +1679,10 @@ void MEDCouplingFieldDiscretizationGauss::checkCoherencyBetween(const MEDCouplin
           throw INTERP_KERNEL::Exception(oss.str().c_str());
         }
     }
-  int nbOfTuples=getNumberOfTuples(mesh);
+  int nbOfTuples(getNumberOfTuples(mesh));
   if(nbOfTuples!=da->getNumberOfTuples())
     {
-      std::ostringstream oss; oss << "Invalid number of tuples in the array : expecting " << nbOfTuples << " !";
+      std::ostringstream oss; oss << "Invalid number of tuples in the array : expecting " << nbOfTuples << " having " << da->getNumberOfTuples() << " !";
       throw INTERP_KERNEL::Exception(oss.str().c_str());
     }
 }