mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-29 10:50:34 +05:00
Correct an obvious mistake.
This commit is contained in:
parent
9cdd70055c
commit
82871fddd8
@ -299,10 +299,10 @@ SMESH_Swig::SMESH_Swig()
|
|||||||
|
|
||||||
MESSAGE("Constructeur");
|
MESSAGE("Constructeur");
|
||||||
|
|
||||||
if(!CORBA::is_nil(anORB))
|
if(CORBA::is_nil(anORB))
|
||||||
ProcessVoidEvent(new TEvent(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();
|
CORBA::String_var anEntry = aSObject->GetID();
|
||||||
return anEntry._retn();
|
return anEntry._retn();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//===============================================================
|
//===============================================================
|
||||||
const char*
|
const char*
|
||||||
|
@ -1081,7 +1081,7 @@ void SMESH_MEDMesh_i::calculeNbElts() throw(SALOME::SALOME_Exception)
|
|||||||
|
|
||||||
int nb_of_nodes = elem->NbNodes();
|
int nb_of_nodes = elem->NbNodes();
|
||||||
medElement = SALOME_MED::MED_HEXA8;
|
medElement = SALOME_MED::MED_HEXA8;
|
||||||
ASSERT(nb_of_nodes = 8);
|
ASSERT(nb_of_nodes == 8);
|
||||||
|
|
||||||
if (trouveHexa8 == 0)
|
if (trouveHexa8 == 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user