From 9761e4b94d27535a43d61e0f462bd95289ca8d1c Mon Sep 17 00:00:00 2001 From: tang zhixiong Date: Thu, 3 Oct 2024 11:34:09 +0800 Subject: [PATCH] fix --- tests/test_basic.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_basic.py b/tests/test_basic.py index dc32c31..12e83e0 100644 --- a/tests/test_basic.py +++ b/tests/test_basic.py @@ -267,9 +267,7 @@ def test_intersections_duplicates(): def test_cheap_ruler_k(): - from polyline_ruler.tf import cheap_ruler_k - - k = cheap_ruler_k(50.0) + k = tf.cheap_ruler_k(50.0) eps = np.abs(k - [71695.753616003, 111229.06398856241, 1.0]).sum() assert eps < 1e-15