From df46ad7774d72b27d0a577232d3fd0d43b958d66 Mon Sep 17 00:00:00 2001 From: Konrad Date: Mon, 27 Nov 2023 10:03:23 +0100 Subject: [PATCH] Dcm2: Use std::sin with overloaded types --- src/lib/matrix/matrix/Dcm2.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/matrix/matrix/Dcm2.hpp b/src/lib/matrix/matrix/Dcm2.hpp index ae3b12c1f4..97aee7a622 100644 --- a/src/lib/matrix/matrix/Dcm2.hpp +++ b/src/lib/matrix/matrix/Dcm2.hpp @@ -102,8 +102,8 @@ public: Dcm2(const Type angle) { Dcm2 &dcm = *this; - Type sin_angle = sin(angle); - Type cos_angle = cos(angle); + Type sin_angle = std::sin(angle); + Type cos_angle = std::cos(angle); dcm(0, 0) = cos_angle; dcm(0, 1) = -sin_angle;