#17956 [CEA 17925] COMPERR_OCC_EXCEPTION

This commit is contained in:
eap 2019-11-08 16:55:05 +03:00
parent 5166ed186f
commit 8fc0f4f355
2 changed files with 3 additions and 1 deletions

View File

@ -7478,6 +7478,8 @@ void SMESH_MeshEditor::FindEqualElements( TIDSortedElemSet & theElements,
while ( elemIt->more() ) while ( elemIt->more() )
{ {
const SMDS_MeshElement* curElem = elemIt->next(); const SMDS_MeshElement* curElem = elemIt->next();
if ( curElem->IsNull() )
continue;
ComparableElement compElem = curElem; ComparableElement compElem = curElem;
// check uniqueness // check uniqueness
const ComparableElement& elemInSet = mapOfElements.Added( compElem ); const ComparableElement& elemInSet = mapOfElements.Added( compElem );

View File

@ -35,7 +35,7 @@
#include <Utils_SALOME_Exception.hxx> #include <Utils_SALOME_Exception.hxx>
#include <boost/intrusive/circular_list_algorithms.hpp> #include <boost/intrusive/circular_list_algorithms.hpp>
#include <boost/container/flat_map.hpp> //#include <boost/container/flat_map.hpp>
#include <Bnd_B3d.hxx> #include <Bnd_B3d.hxx>