From 3cd3a06eb715c380496926005033f71a4292a893 Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Wed, 9 Nov 2011 01:39:18 +0000 Subject: [PATCH] Unit test bug fix - wasn't a rotation matrix --- tests/testNonlinearEqualityConstraint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testNonlinearEqualityConstraint.cpp b/tests/testNonlinearEqualityConstraint.cpp index f2cabc27b..d913aa0f6 100644 --- a/tests/testNonlinearEqualityConstraint.cpp +++ b/tests/testNonlinearEqualityConstraint.cpp @@ -311,7 +311,7 @@ TEST (testNonlinearEqualityConstraint, stereo_constrained ) { Rot3 faceDownY(Matrix_(3,3, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, - 0.0, 1.0, 0.0)); + 0.0, -1.0, 0.0)); Pose3 pose1(faceDownY, Point3()); // origin, left camera SimpleCamera camera1(K, pose1); Pose3 pose2(faceDownY, Point3(2.0, 0.0, 0.0)); // 2 units to the left