From: geay Date: Wed, 16 Apr 2014 14:13:13 +0000 (+0200) Subject: solve problem in MEDReader with polygons. X-Git-Tag: V7_4_0rc1~2^2~17^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=75a4c435770441a9878a2cfc0cdb3563e430dc85;p=tools%2Fmedcoupling.git solve problem in MEDReader with polygons. --- diff --git a/src/MEDLoader/MEDFileFieldOverView.cxx b/src/MEDLoader/MEDFileFieldOverView.cxx index 9bea050d6..d90308ee0 100644 --- a/src/MEDLoader/MEDFileFieldOverView.cxx +++ b/src/MEDLoader/MEDFileFieldOverView.cxx @@ -1019,7 +1019,7 @@ bool MEDUMeshMultiLev::buildVTUArrays(DataArrayDouble *& coords, DataArrayByte * { *dPtr++=connIPtr[1]-connIPtr[0]; dPtr=std::copy(connPtr+connIPtr[0],connPtr+connIPtr[1],dPtr); - *cPtr++=k; k+=connIPtr[1]-connIPtr[0]; + *cPtr++=k; k+=connIPtr[1]-connIPtr[0]+1; } } else