From da29a4ebec2646258a1b9d5aaeda7e10200350ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Sol=C3=A0?= <jsola@iri.upc.edu> Date: Sun, 19 Jun 2022 09:02:56 +0200 Subject: [PATCH] force double in eigen constructor --- test/gtest_imu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/gtest_imu.cpp b/test/gtest_imu.cpp index bc812631b..b6d1b8128 100644 --- a/test/gtest_imu.cpp +++ b/test/gtest_imu.cpp @@ -1549,7 +1549,7 @@ TEST_F(Process_Factor_Imu, bootstrap) problem->print(4, 0, 1, 0); // Vector6d data(0,0,9.806, 0,0,0); // gravity on Z - Vector6d data(0,9.806,0, 0,0,0); // gravity on Y + Vector6d data(0.0,9.806,0.0, 0.0,0.0,0.0); // gravity on Y capture_imu = std::make_shared<CaptureImu>(0.0, sensor_imu, data, Matrix6d::Identity()); -- GitLab