From 411d3a22736fd6b4b61107a31c4048c49c804c5e Mon Sep 17 00:00:00 2001 From: Natesh Srinivasan Date: Fri, 31 Jan 2014 10:44:19 -0500 Subject: [PATCH] Changed unit test from symbol to key --- gtsam/slam/tests/testOrientedPlane3Factor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtsam/slam/tests/testOrientedPlane3Factor.cpp b/gtsam/slam/tests/testOrientedPlane3Factor.cpp index dd3ff7ce4..2478924e7 100644 --- a/gtsam/slam/tests/testOrientedPlane3Factor.cpp +++ b/gtsam/slam/tests/testOrientedPlane3Factor.cpp @@ -125,9 +125,9 @@ TEST( OrientedPlane3DirectionPriorFactor, Constructor ) { Vector planeOrientation = Vector_(4,0.0, 0.0, -1.0, 10.0); // all vertical planes directly facing the origin // Factor - gtsam::Symbol lm_sym ('l', 0); + Key key(1); SharedGaussian model = gtsam::noiseModel::Diagonal::Sigmas (gtsam::Vector_ (3, 0.1, 0.1, 10.0)); - OrientedPlane3DirectionPrior factor(lm_sym, planeOrientation, model); + OrientedPlane3DirectionPrior factor(key, planeOrientation, model); // Create a linearization point at the zero-error point Vector theta1 = Vector_(4,0.0, 0.02, -1.2, 10.0);