From: ageay Date: Thu, 28 Jun 2012 13:57:32 +0000 (+0000) Subject: Precision of output time in error message. X-Git-Tag: V6_main_FINAL~621 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ff22d6e8e096f1327b37dfeaa176108727ec50ec;p=tools%2Fmedcoupling.git Precision of output time in error message. --- diff --git a/src/MEDLoader/MEDFileField.cxx b/src/MEDLoader/MEDFileField.cxx index 5340bb3e4..54f391f85 100644 --- a/src/MEDLoader/MEDFileField.cxx +++ b/src/MEDLoader/MEDFileField.cxx @@ -3820,7 +3820,8 @@ int MEDFileFieldMultiTSWithoutDAS::getPosOfTimeStep(int iteration, int order) co int MEDFileFieldMultiTSWithoutDAS::getPosGivenTime(double time, double eps) const throw(INTERP_KERNEL::Exception) { int ret=0; - std::ostringstream oss; oss << "MEDFileFieldMultiTSWithoutDAS::getPosGivenTime : No such time step " << time << "! \nPossibilities are : "; + std::ostringstream oss; oss << "MEDFileFieldMultiTSWithoutDAS::getPosGivenTime : No such time step " << time << "! \nPossibilities are : "; + oss.precision(15); for(std::vector< MEDCouplingAutoRefCountObjectPtr >::const_iterator it=_time_steps.begin();it!=_time_steps.end();it++,ret++) { const MEDFileField1TSWithoutDAS *tmp(*it);