Salome HOME
Fix regressions
[modules/smesh.git] / doc / salome / examples / creating_meshes_ex04.py
index f2cdfdb87aee36672f4a4066315c15ba8177e567..82408d5a3e5da222e9cc6863f046ed4f703f2a5d 100644 (file)
@@ -46,8 +46,7 @@ tria.Compute()
 PrintMeshInfo(tria)
 
 # remove a local hypothesis
-mesh = tria.GetMesh()
-mesh.RemoveHypothesis(edge, hyp4)
+tria.RemoveHypothesis(hyp4, edge)
 
 # compute the mesh
 tria.Compute()