]> SALOME platform Git repositories - modules/smesh.git/commitdiff
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 bacaa817ddda26d58dddadaa74fe1dfadc939cb6..b0a202b5ef2d7a07f93e8a745a9a50bd9eeea470 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();