From d2340fd0c357327b17d35e7ab4db13a6441a9dcf Mon Sep 17 00:00:00 2001 From: William Silversmith Date: Sat, 22 Jun 2024 01:40:16 -0400 Subject: [PATCH] fix: floating point error in test --- automated_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automated_test.py b/automated_test.py index 1163a88..a858615 100644 --- a/automated_test.py +++ b/automated_test.py @@ -8,7 +8,7 @@ def test_spherical_dilate(): assert np.all(res == False) labels[5,5,5] = True - radius = 5 * np.sqrt(3) + radius = 5 * np.sqrt(3) + 0.000001 res = fastmorph.spherical_dilate(labels, radius=radius) assert np.all(res == True)