diff --git a/src/common/utility/basics.h b/src/common/utility/basics.h index 615789b58..2f2ff7f43 100644 --- a/src/common/utility/basics.h +++ b/src/common/utility/basics.h @@ -88,6 +88,10 @@ inline float RAD2DEG(float deg) return deg * float(180. / M_PI); } +inline double RAD2DEG(double deg) +{ + return deg * (180. / M_PI); +} // Auto-registration sections for GCC. // Apparently, you cannot do string concatenation inside section attributes.