diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-09-29 15:53:19 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-09-29 15:54:05 +0200 |
commit | 3f157eacc6b09081ae99f2979e8bfb895002186f (patch) | |
tree | 726521ed71270442f7593b4b3ff59a07b62aa557 | |
parent | f18067ff83e8989f80c7f521c40e6fcb5fa8b451 (diff) |
spline: use the same epsilon everywhere
-rw-r--r-- | spline/spline.cpp | 2 |
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' |