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
/
transforming_meshes_ex11.py
diff --git
a/doc/examples/transforming_meshes_ex11.py
b/doc/examples/transforming_meshes_ex11.py
index 5fddd3015dccbef4b624317c5ee4b662be72559b..a08d21f52b74e4df2f6c017a4ea3cb0040e26eca 100644
(file)
--- a/
doc/examples/transforming_meshes_ex11.py
+++ b/
doc/examples/transforming_meshes_ex11.py
@@
-21,7
+21,7
@@
mesh.Quadrangle()
mesh.Hexahedron()
# Compute mesh
-
mesh.Compute(
)
+
if not mesh.Compute(): raise Exception("Error when computing Mesh"
)
# Duplicate nodes only