From 0d2a99217899302358177738b7a5726d87f15ab2 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 23 Apr 2018 14:03:45 +0300 Subject: [PATCH] 23549: [EDF] PIGUI: Script with dumped study uses undefined filters in GroupOnFilter. --- src/SMESH_I/SMESH_2smeshpy.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMESH_I/SMESH_2smeshpy.cxx b/src/SMESH_I/SMESH_2smeshpy.cxx index 75c976650..b0d415b41 100644 --- a/src/SMESH_I/SMESH_2smeshpy.cxx +++ b/src/SMESH_I/SMESH_2smeshpy.cxx @@ -5130,7 +5130,7 @@ int _pyStringFamily::isIn( const char* str ) 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() ) -- 2.39.2