Correct an obvious mistake.

This commit is contained in:
jfa 2006-04-03 13:51:04 +00:00
parent 9cdd70055c
commit 82871fddd8
2 changed files with 4 additions and 4 deletions

View File

@ -299,10 +299,10 @@ SMESH_Swig::SMESH_Swig()
MESSAGE("Constructeur");
if(!CORBA::is_nil(anORB))
if(CORBA::is_nil(anORB))
ProcessVoidEvent(new TEvent(anORB));
ASSERT(CORBA::is_nil(anORB));
ASSERT(!CORBA::is_nil(anORB));
}
@ -440,7 +440,7 @@ SMESH_Swig::AddNewHypothesis(const char* theIOR)
CORBA::String_var anEntry = aSObject->GetID();
return anEntry._retn();
}
//===============================================================
const char*

View File

@ -1081,7 +1081,7 @@ void SMESH_MEDMesh_i::calculeNbElts() throw(SALOME::SALOME_Exception)
int nb_of_nodes = elem->NbNodes();
medElement = SALOME_MED::MED_HEXA8;
ASSERT(nb_of_nodes = 8);
ASSERT(nb_of_nodes == 8);
if (trouveHexa8 == 0)
{