Salome HOME
Fix regression of non-regression tests
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_ComputeDlg.cxx
index 429531fd28919106e398c59cf2775f7339b2e467..a71b425d407fdd28f5e16f52de0ac45022aada07 100644 (file)
@@ -1773,7 +1773,7 @@ void SMESHGUI_PrecomputeOp::getAssignedAlgos(_PTR(SObject) theMesh,
   }
 
   // check sub-meshes
-  for ( aPart = SMESH::Tag_SubMeshOnEdge; aPart < SMESH::Tag_LastSubMesh; ++aPart )
+  for ( aPart = SMESH::Tag_SubMeshOnEdge; aPart <= SMESH::Tag_LastSubMesh; ++aPart )
   {
     if ( !theMesh->FindSubObject( aPart, aHypFolder ))
       continue;