From c9403afc75a86136b3d372d5c4a6cc3486b7bdc8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 22 Jul 2021 14:00:06 +1000 Subject: [PATCH] AP_Math: fixed build --- libraries/AP_Math/tests/test_math.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Math/tests/test_math.cpp b/libraries/AP_Math/tests/test_math.cpp index c4d091218d..702d3a88b7 100644 --- a/libraries/AP_Math/tests/test_math.cpp +++ b/libraries/AP_Math/tests/test_math.cpp @@ -628,7 +628,7 @@ TEST(MathTest, VELCORRECTION) static constexpr Matrix3F rot(0.0f, -1.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f); static constexpr Vector3F rate{-1.0f, -1.0f, -1.0f}; EXPECT_TRUE(Vector3F(1.0f, 1.0f, 0.0f) == get_vel_correction_for_sensor_offset(pos, rot, rate)); - EXPECT_TRUE(Vector3F() == get_vel_correction_for_sensor_offset(Vector3f(), rot, rate)); + EXPECT_TRUE(Vector3F() == get_vel_correction_for_sensor_offset(Vector3F(), rot, rate)); } TEST(MathTest, LOWPASSALPHA)