]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
For old MED file fra.med the returned code of MEDmeshUniversalNameRd is not 0. For... V7_7_0a1
authorAnthony Geay <anthony.geay@edf.fr>
Tue, 18 Aug 2015 12:01:20 +0000 (14:01 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Tue, 18 Aug 2015 12:01:20 +0000 (14:01 +0200)
src/MEDLoader/MEDFileMeshLL.cxx

index 33193cd4149f76571255696dd347154cd7abb9cf..16fef5d9db152d182d5a78316cd32dc0e2e2bf92 100644 (file)
@@ -156,7 +156,7 @@ std::vector<std::string> MEDFileMeshL2::getAxisInfoOnMesh(med_idt fid, int mId,
   if(MEDmeshInfo(fid,mId,nameTmp,&spaceDim,&Mdim,&type_maillage,_description.getPointer(),_dt_unit.getPointer(),
       &stype,&nstep,&axistype,axisname,axisunit)!=0)
     throw INTERP_KERNEL::Exception("A problem has been detected when trying to get info on mesh !");
-  MEDFILESAFECALLERRD0(MEDmeshUniversalNameRd,(fid,nameTmp,_univ_name.getPointer()));
+  MEDmeshUniversalNameRd(fid,nameTmp,_univ_name.getPointer());// do not protect  MEDFILESAFECALLERRD0 call : Thanks to fra.med.
   switch(type_maillage)
   {
     case MED_UNSTRUCTURED_MESH: