summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-09-29 15:53:19 +0200
committerStanislaw Halik <sthalik@misaki.pl>2021-09-29 15:54:05 +0200
commit3f157eacc6b09081ae99f2979e8bfb895002186f (patch)
tree726521ed71270442f7593b4b3ff59a07b62aa557
parentf18067ff83e8989f80c7f521c40e6fcb5fa8b451 (diff)
spline: use the same epsilon everywhere
-rw-r--r--spline/spline.cpp2
1 files changed, 1 insertions, 1 deletions
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'