From: Anthony Geay Date: Mon, 6 Feb 2017 15:44:09 +0000 (+0100) Subject: Small modif X-Git-Tag: V8_3_0a2~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3092f7e2b75ac1b892eaacc5500b90135ec14990;p=tools%2Fmedcoupling.git Small modif --- diff --git a/src/MEDCoupling/MEDCouplingFieldDiscretization.cxx b/src/MEDCoupling/MEDCouplingFieldDiscretization.cxx index 32bb5511e..6cb1d512a 100644 --- a/src/MEDCoupling/MEDCouplingFieldDiscretization.cxx +++ b/src/MEDCoupling/MEDCouplingFieldDiscretization.cxx @@ -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()); } }