From f5e6b2154767b54a6abeb517cc13cab633e54b83 Mon Sep 17 00:00:00 2001 From: Ivan Jimenez Date: Sat, 27 Feb 2016 23:52:41 -0500 Subject: [PATCH] [BUGFIX] Point3 called with default constructor. --- gtsam_unstable/nonlinear/tests/testLinearConstraintSQP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam_unstable/nonlinear/tests/testLinearConstraintSQP.cpp b/gtsam_unstable/nonlinear/tests/testLinearConstraintSQP.cpp index f0be70198..4dd95aa58 100644 --- a/gtsam_unstable/nonlinear/tests/testLinearConstraintSQP.cpp +++ b/gtsam_unstable/nonlinear/tests/testLinearConstraintSQP.cpp @@ -139,7 +139,7 @@ TEST(testlcnlpSolver, poseOnALine) { initialValues.insert(X(1), Pose3(Rot3::Ypr(0.3, 0.2, 0.3), Point3(1,0,0))); Values expectedSolution; - expectedSolution.insert(X(1), Pose3(Rot3::Ypr(0.1, 0.2, 0.3), Point3())); + expectedSolution.insert(X(1), Pose3(Rot3::Ypr(0.1, 0.2, 0.3), Point3(0,0,0))); // Instantiate LinearConstraintSQP LinearConstraintSQP lcnlpSolver(lcnlp);