Dcm2: Use std::sin with overloaded types

This commit is contained in:
Konrad 2023-11-27 10:03:23 +01:00 committed by Silvan Fuhrer
parent d1b8a2e8d5
commit df46ad7774
1 changed files with 2 additions and 2 deletions

View File

@ -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;