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
/
defining_hypotheses_ex07.py
diff --git
a/doc/examples/defining_hypotheses_ex07.py
b/doc/examples/defining_hypotheses_ex07.py
index 7295778f0b239d62f078d677f18fec99d814268c..3cc6860bc9f832c517ec7cb390f6909ef0c14cbf 100644
(file)
--- a/
doc/examples/defining_hypotheses_ex07.py
+++ b/
doc/examples/defining_hypotheses_ex07.py
@@
-33,4
+33,4
@@
algo2D = tria.Triangle()
algo2D.LengthFromEdges()
# compute the mesh
-
tria.Compute(
)
+
if not tria.Compute(): raise Exception("Error when computing Mesh"
)