Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Check result of Compute() in test and examples
[modules/smesh.git]
/
doc
/
examples
/
mechanic.py
diff --git
a/doc/examples/mechanic.py
b/doc/examples/mechanic.py
index 902ce7184424a4b54e32e367bd6e5468b1facf70..37a372e6f32db8bb74d1424d18579e985c67acf0 100644
(file)
--- a/
doc/examples/mechanic.py
+++ b/
doc/examples/mechanic.py
@@
-83,4
+83,4
@@
mesh.Quadrangle(sub_face4)
# finally compute whole mesh
-
mesh.Compute(
)
+
if not mesh.Compute(): raise Exception("Error when computing Mesh"
)