summaryrefslogtreecommitdiffhomepage
path: root/spline/spline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'spline/spline.cpp')
-rw-r--r--spline/spline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/spline/spline.cpp b/spline/spline.cpp
index 1a0f7257..450643ea 100644
--- a/spline/spline.cpp
+++ b/spline/spline.cpp
@@ -377,7 +377,7 @@ void spline::ensure_valid(points_t& list)
QList<QPointF> all_points, tmp;
all_points.reserve(sz), tmp.reserve(sz);
- const double maxx = max_input(), maxy = max_output();
+ const double maxx = max_input();
for (int i = 0; i < sz; i++)
{