From c47aabbe41e4564ba3f2d6f030f286624d4f1229 Mon Sep 17 00:00:00 2001 From: prascle Date: Mon, 19 Apr 2004 06:34:09 +0000 Subject: [PATCH] PR: bug 5722 correction --- src/MEDWrapper/MEDA_Algorithm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++){ -- 2.39.2