X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=doc%2Fexamples%2Fdefining_hypotheses_ex14.py;h=bc7ce0b993f590df54d637fef9fff2772e79c95d;hp=accc5879b012b2c72bd5b22baad20a490eca17ec;hb=1ade5b188481247c04b3cecbe8405588f78c6803;hpb=d1392dc0345fb940899baa1121b9230843e47346 diff --git a/doc/examples/defining_hypotheses_ex14.py b/doc/examples/defining_hypotheses_ex14.py index accc5879b..bc7ce0b99 100644 --- a/doc/examples/defining_hypotheses_ex14.py +++ b/doc/examples/defining_hypotheses_ex14.py @@ -28,4 +28,4 @@ Nb_Segments_1 = Regular_1D.NumberOfSegments(10) Quadrangle_2D = Mesh_1.Quadrangle().TriangleVertex( triaVertex ) # Compute the mesh -Mesh_1.Compute() +if not Mesh_1.Compute(): raise Exception("Error when computing Mesh")