From: Anthony GEAY Date: Mon, 21 Sep 2020 21:17:06 +0000 (+0200) Subject: tuleap20060 : bug correction inside medwriter in int64 mode X-Git-Tag: V9_6_0a1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=731fbc8860356b561022efe9fb8082affde3bc6e;p=modules%2Fparavis.git tuleap20060 : bug correction inside medwriter in int64 mode --- diff --git a/src/Plugins/MEDWriter/plugin/MEDWriterIO/VTKToMEDMem.cxx b/src/Plugins/MEDWriter/plugin/MEDWriterIO/VTKToMEDMem.cxx index 93eb8f04..6f464482 100644 --- a/src/Plugins/MEDWriter/plugin/MEDWriterIO/VTKToMEDMem.cxx +++ b/src/Plugins/MEDWriter/plugin/MEDWriterIO/VTKToMEDMem.cxx @@ -404,7 +404,7 @@ void AppendMCFieldFrom(MEDCoupling::TypeOfField tf, MEDCouplingMesh *mesh, MEDFi MCAuto daId(MEDCoupling::DynamicCast(da)); if(dai.isNotNull() || daId.isNotNull()) { - std::string fieldName(dai->getName()); + std::string fieldName(da->getName()); if((fieldName!=FAMFIELD_FOR_CELLS || tf!=MEDCoupling::ON_CELLS) && (fieldName!=FAMFIELD_FOR_NODES || tf!=MEDCoupling::ON_NODES)) { if(!dai)