correct debug messages

This commit is contained in:
dmv 2010-01-12 15:32:37 +00:00
parent 65197a8515
commit 06f0c4f62f

View File

@ -538,7 +538,7 @@ SMESH_Hypothesis::Hypothesis_Status
} }
if(MYDEBUG) subMesh->DumpAlgoState(true); if(MYDEBUG) subMesh->DumpAlgoState(true);
SCRUTE(ret); if(MYDEBUG) SCRUTE(ret);
return ret; return ret;
} }
@ -560,8 +560,10 @@ SMESH_Hypothesis::Hypothesis_Status
throw SALOME_Exception(LOCALIZED("hypothesis does not exist")); throw SALOME_Exception(LOCALIZED("hypothesis does not exist"));
SMESH_Hypothesis *anHyp = sc->mapHypothesis[anHypId]; SMESH_Hypothesis *anHyp = sc->mapHypothesis[anHypId];
if(MYDEBUG) {
int hypType = anHyp->GetType(); int hypType = anHyp->GetType();
if(MYDEBUG) SCRUTE(hypType); SCRUTE(hypType);
}
// shape // shape