]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
PR: bug 5722 correction
authorprascle <prascle>
Mon, 19 Apr 2004 06:34:09 +0000 (06:34 +0000)
committerprascle <prascle>
Mon, 19 Apr 2004 06:34:09 +0000 (06:34 +0000)
src/MEDWrapper/MEDA_Algorithm.cxx

index 420e50fae8f9571a2dfcff477a1543c5775a56b0..1f090c085ee94c12c7657a15f60b4b46337783de 100644 (file)
@@ -195,7 +195,7 @@ MEDA::GetFamiliesByEntity(TWrapper& theWrapper,
     typedef map<med_entite_maillage,TFamilyIdSet> 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++){