X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHOMARD%2FHOMARD_Zone.cxx;h=d4a207f10198575348e0b44e57900dbe2c2d7064;hb=9e58f253ace5b07462140dc8e3b2d1aea1d366a6;hp=2eb2d31bc0c8526a206dd213882786eb09643232;hpb=b85df1da75f2f27d4a1cb9537ce725b890e87b71;p=modules%2Fhomard.git diff --git a/src/HOMARD/HOMARD_Zone.cxx b/src/HOMARD/HOMARD_Zone.cxx index 2eb2d31b..d4a207f1 100644 --- a/src/HOMARD/HOMARD_Zone.cxx +++ b/src/HOMARD/HOMARD_Zone.cxx @@ -32,6 +32,7 @@ // Quand les 2 fonctions Setxxx et Getxxx sont presentes, Setxxx est decrit en premier #include "HOMARD_Zone.hxx" +#include "HOMARD.hxx" #include "utilities.h" //============================================================================= @@ -275,7 +276,7 @@ std::vector HOMARD_Zone::GetCoords() const mesCoor.push_back( _Rayonint ) ; break ; } - ASSERT ( _Type == -1 ) ; + VERIFICATION ( ( (_Type>10) and (_Type<14) ) or (_Type==2) or ( (_Type>30) and (_Type<34) ) or (_Type==4) or (_Type==5) or ( (_Type>60) and (_Type<64) ) or (_Type==7) ) ; } return mesCoor; } @@ -314,7 +315,7 @@ void HOMARD_Zone::SupprHypo( const char* NomHypo ) if ( it != _ListHypo.end() ) { MESSAGE ("Dans SupprHypo pour " << NomHypo) ; - _ListHypo.erase( it ) ; + it = _ListHypo.erase( it ) ; } } //=============================================================================