Salome HOME
0022238: Study dump produced by SMESH refers to undefined variable names
authoreap <eap@opencascade.com>
Tue, 2 Jul 2013 14:27:15 +0000 (14:27 +0000)
committereap <eap@opencascade.com>
Tue, 2 Jul 2013 14:27:15 +0000 (14:27 +0000)
void fixFunctorType()
{
+      ASSERT( undef2newItems.rbegin()->first == SMESH::FT_Undefined );

src/SMESH_I/SMESH_2smeshpy.cxx

index bacaa81..b0a202b 100644 (file)
@@ -310,6 +310,8 @@ namespace {
       undef2newItems[ 44 ].push_back( 37 );
       undef2newItems[ 45 ].push_back( 36 );
       undef2newItems[ 46 ].push_back( 39 );
+
+      ASSERT( undef2newItems.rbegin()->first == SMESH::FT_Undefined );
     }
 
     int iType     = Type.IntegerValue();