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]
/
test
/
ex21_lamp.py
diff --git
a/test/ex21_lamp.py
b/test/ex21_lamp.py
index a0e42bed01adc7b16fa99f9984d1f17c59b8bea8..8541d2ee6b220198ab728519faf61064d993ba6c 100644
(file)
--- a/
test/ex21_lamp.py
+++ b/
test/ex21_lamp.py
@@
-126,7
+126,9
@@
algo3d.MaxElementVolume(100)
# Compute the mesh
# ----------------
-tetra.Compute()
+isDone = tetra.Compute()
+if not isDone:
+ raise Exception("Error when computing Mesh")
# Create a groupe of faces
# ------------------------