From: eap Date: Thu, 19 Sep 2013 09:02:16 +0000 (+0000) Subject: 22321: [CEA 933] Bug when reading a sauve file containing field on Gauss Pt X-Git-Tag: V7_3_0a1~141 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4c65bfba11df662de60aac2a62184ca03431bff1;p=modules%2Fmed.git 22321: [CEA 933] Bug when reading a sauve file containing field on Gauss Pt fix MEDCouplingFieldDiscretizationGauss::zipGaussLocalizations() - tmpLoc.push_back(_loc[tmp[i]]); + tmpLoc.push_back(_loc[i]); --- diff --git a/src/MEDCoupling/MEDCouplingFieldDiscretization.cxx b/src/MEDCoupling/MEDCouplingFieldDiscretization.cxx index 3118eee1f..504a48654 100644 --- a/src/MEDCoupling/MEDCouplingFieldDiscretization.cxx +++ b/src/MEDCoupling/MEDCouplingFieldDiscretization.cxx @@ -2010,7 +2010,7 @@ void MEDCouplingFieldDiscretizationGauss::zipGaussLocalizations() std::vector tmpLoc; for(int i=0;i<(int)_loc.size();i++) if(tmp[i]!=-2) - tmpLoc.push_back(_loc[tmp[i]]); + tmpLoc.push_back(_loc[i]); _loc=tmpLoc; }