From 4c65bfba11df662de60aac2a62184ca03431bff1 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 19 Sep 2013 09:02:16 +0000 Subject: [PATCH] 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]); --- src/MEDCoupling/MEDCouplingFieldDiscretization.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2