File: test_relax_tolerance.patch

package info (click to toggle)
python-meshplex 0.17.1-5
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 668 kB
  • sloc: python: 3,626; makefile: 13
file content (28 lines) | stat: -rw-r--r-- 975 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Index: python-meshplex/tests/mesh_tri/test_mesh_tri.py
===================================================================
--- python-meshplex.orig/tests/mesh_tri/test_mesh_tri.py	2021-11-20 12:46:50.081048015 +0100
+++ python-meshplex/tests/mesh_tri/test_mesh_tri.py	2021-11-20 12:49:33.098121450 +0100
@@ -705,12 +705,12 @@
     assert_norms(
         mesh.half_edge_coords,
         [1.6674048509514694e03, 1.9463913181988705e01, 3.4718650853971766e-01],
-        1.0e-15,
+        1.0e-13,
     )
     assert_norms(
         mesh.ei_dot_ei,
         [3.7884391635599366e02, 5.5826366101867908e00, 1.2739502744897091e-01],
-        1.0e-15,
+        1.0e-14,
     )
     assert_norms(
         mesh.cell_partitions,
@@ -745,7 +745,7 @@
     assert_norms(
         mesh.control_volume_centroids,
         [3.0478135855839828e03, 8.7829558499197603e01, 4.1869842124121526e00],
-        1.0e-15,
+        1.0e-12,
     )
     assert_norms(
         mesh.signed_cell_volumes,