summaryrefslogtreecommitdiffhomepage
path: root/logic
diff options
context:
space:
mode:
Diffstat (limited to 'logic')
-rw-r--r--logic/pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/pipeline.cpp b/logic/pipeline.cpp
index c355bf19..81ee05b2 100644
--- a/logic/pipeline.cpp
+++ b/logic/pipeline.cpp
@@ -195,7 +195,7 @@ double pipeline::map(double pos, Map& axis)
axis.spline_main.set_tracking_active(!altp);
axis.spline_alt.set_tracking_active(altp);
auto& fc = altp ? axis.spline_alt : axis.spline_main;
- return double(fc.get_value(pos));
+ return fc.get_value(pos);
}
//#define NO_NAN_CHECK