We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af338c1 commit 2e88978Copy full SHA for 2e88978
1 file changed
test/run_test.py
@@ -1276,7 +1276,9 @@ def test_surf2vol_fill(self):
1276
np.arange(19, 42, 0.5),
1277
fill=1,
1278
)
1279
- self.assertAlmostEqual(np.sum(vol.astype(np.float32)) * 0.0001, 3.6134, 2)
+ self.assertAlmostEqual(
1280
+ np.sum(vol.astype(np.float32)) * 0.0001, 3.6134, delta=0.01
1281
+ )
1282
1283
def test_s2v(self):
1284
vol = s2v(self.no, self.fc, 100, fill=1)
0 commit comments