From: prascle Date: Mon, 19 Apr 2004 06:34:09 +0000 (+0000) Subject: PR: bug 5722 correction X-Git-Tag: Ecole_Ete_a1~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c47aabbe41e4564ba3f2d6f030f286624d4f1229;p=modules%2Fkernel.git PR: bug 5722 correction --- diff --git a/src/MEDWrapper/MEDA_Algorithm.cxx b/src/MEDWrapper/MEDA_Algorithm.cxx index 420e50fae..1f090c085 100644 --- a/src/MEDWrapper/MEDA_Algorithm.cxx +++ b/src/MEDWrapper/MEDA_Algorithm.cxx @@ -195,7 +195,7 @@ MEDA::GetFamiliesByEntity(TWrapper& theWrapper, typedef map TFamilyIdByEntity; TFamilyIdByEntity aFamilyIdByEntity; - if(theNodeInfo){ + if(theNodeInfo!=0){ if(med_int aNbElem = theNodeInfo->GetNbElem()){ TFamilyIdSet& aFamilyIdSet = aFamilyIdByEntity[MED_NOEUD]; for(med_int i = 0; i < aNbElem; i++){