From 1171d33839f67c903f108fc25d43f7855fee209b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 10 Nov 2018 20:48:34 +0100 Subject: spline/widget: remove pointless fmax --- spline/spline-widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spline/spline-widget.cpp b/spline/spline-widget.cpp index 2d66371c..64f9f156 100644 --- a/spline/spline-widget.cpp +++ b/spline/spline-widget.cpp @@ -493,7 +493,7 @@ void spline_widget::reload_spline() double spline_widget::min_pt_distance() const { - double pt = 3*std::fmax(point_size_in_pixels, point_size_in_pixels_) / c.x(); + double pt = 3*point_size_in_pixels / c.x(); pt = snap(pt, snap_x); return pt; } -- cgit v1.2.3