Salome HOME
23549: [EDF] PIGUI: Script with dumped study uses undefined filters in GroupOnFilter.
authoreap <eap@opencascade.com>
Mon, 23 Apr 2018 11:03:45 +0000 (14:03 +0300)
committereap <eap@opencascade.com>
Mon, 23 Apr 2018 11:03:45 +0000 (14:03 +0300)
src/SMESH_I/SMESH_2smeshpy.cxx

index 75c9766..b0d415b 100644 (file)
@@ -5130,7 +5130,7 @@ int _pyStringFamily::isIn( const char* str )
       if (( len = itSub->isIn( str + itSub->_prefix.Length() )) >= 0 )
         return itSub->_prefix.Length() + len;
     }
       if (( len = itSub->isIn( str + itSub->_prefix.Length() )) >= 0 )
         return itSub->_prefix.Length() + len;
     }
-    else if ( cmp > 0 )
+    else if ( cmp < 0 )
       break;
   }
   if ( !_strings.empty() )
       break;
   }
   if ( !_strings.empty() )