Salome HOME
Update of CheckDone
[modules/smesh.git] / src / SMESH_SWIG / smeshBuilder.py
index 42b88e78e6b257834ddcdfee3754cce14a12a57b..2401ed74cfcc7be98c4e92706c120e297250a1c7 100644 (file)
@@ -2001,11 +2001,11 @@ class Mesh(metaclass = MeshMeta):
 
         return ok
 
-    def CheckCompute(self, isDone):
+    def CheckCompute(self):
         """
         Check if the mesh was properly compute
         """
-        if not isDone:
+        if not self.mesh.IsComputedOK():
             raise Exception("Could not compute {}".format(self.GetName()))
 
     def GetComputeErrors(self, shape=0 ):