From 81483a9670468b342e27de3f3d9dd2a24039bff5 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand <hillbrand@ucdavis.edu> Date: Sun, 30 Sep 2018 10:10:53 -0700 Subject: [PATCH] ARC_ASSIST: Fix return type in bool check The return for special angle check is boolean. --- common/preview_items/arc_assistant.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/preview_items/arc_assistant.cpp b/common/preview_items/arc_assistant.cpp index 0f9f3aaef5..0ea4718da1 100644 --- a/common/preview_items/arc_assistant.cpp +++ b/common/preview_items/arc_assistant.cpp @@ -84,7 +84,7 @@ double getNormDeciDegFromRad( double aRadians ) static const double ANGLE_EPSILON = 1e-9; -double angleIsSpecial( double aRadians ) +bool angleIsSpecial( double aRadians ) { return std::fabs( std::remainder( aRadians, M_PI_4 ) ) < ANGLE_EPSILON; }