From 3984fa6dece0e6af450ca9ae8969e4c6b2ebbe54 Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Sat, 21 Dec 2013 00:44:32 +0000 Subject: [PATCH] Fixed compile error git-svn-id: https://svn.cc.gatech.edu/borg/gtsam/trunk@20413 898a188c-9671-0410-8e00-e3fd810bbb7f --- gtsam/geometry/tests/testRot3Q.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtsam/geometry/tests/testRot3Q.cpp b/gtsam/geometry/tests/testRot3Q.cpp index 990be345f..5db99e4e3 100644 --- a/gtsam/geometry/tests/testRot3Q.cpp +++ b/gtsam/geometry/tests/testRot3Q.cpp @@ -440,13 +440,13 @@ TEST( Rot3, expmapStability ) { TEST(Rot3, quaternion) { // NOTE: This is also verifying the ability to convert Vector to Quaternion Quaternion q1(0.710997408193224, 0.360544029310185, 0.594459869568306, 0.105395217842782); - Rot3 R1 = Rot3((Matrix(3, 3) << + Rot3 R1 = Rot3((Matrix)(Matrix(3, 3) << 0.271018623057411, 0.278786459830371, 0.921318086098018, 0.578529366719085, 0.717799701969298, -0.387385285854279, -0.769319620053772, 0.637998195662053, 0.033250932803219)); Quaternion q2(0.263360579192421, 0.571813128030932, 0.494678363680335, 0.599136268678053); - Rot3 R2 = Rot3((Matrix(3, 3) << + Rot3 R2 = Rot3((Matrix)(Matrix(3, 3) << -0.207341903877828, 0.250149415542075, 0.945745528564780, 0.881304914479026, -0.371869043667957, 0.291573424846290, 0.424630407073532, 0.893945571198514, -0.143353873763946));