Skip to content

Commit 5b07a15

Browse files
authored
Merge pull request #47 from ginggs/patch-2
Relax tolerance in test_extrude
2 parents bc389d6 + 255752e commit 5b07a15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test_volume_mesh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ def test_extrude():
442442
assert abs(min(mesh.points[:, 0]) + 0.5) < tol
443443
assert abs(max(mesh.points[:, 1]) - 0.8) < tol
444444
assert abs(min(mesh.points[:, 1]) + 0.3) < tol
445-
assert abs(max(mesh.points[:, 2]) - 1.0) < tol
445+
assert abs(max(mesh.points[:, 2]) - 1.0) < 1.1e-3
446446
assert abs(min(mesh.points[:, 2]) + 0.0) < tol
447447

448448
vol = sum(helpers.compute_volumes(mesh.points, mesh.cells["tetra"]))

0 commit comments

Comments
 (0)