From 3f157eacc6b09081ae99f2979e8bfb895002186f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 29 Sep 2021 15:53:19 +0200 Subject: spline: use the same epsilon everywhere --- spline/spline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spline/spline.cpp b/spline/spline.cpp index 7017c93e..d6bdf2c1 100644 --- a/spline/spline.cpp +++ b/spline/spline.cpp @@ -182,7 +182,7 @@ void spline::update_interp_data() const } else { - if (list[0].x() > 1e-2) + if (list[0].x() > 1e-6) list.push_front({}); // now this is hella expensive due to `c_interp' -- cgit v1.2.3