From 0c74ed8686c1f2ef0cc88eb26e18a4c58fb9a8ce Mon Sep 17 00:00:00 2001 From: dellaert Date: Sun, 21 Dec 2014 18:44:38 +0100 Subject: [PATCH] Measurement should be Point2 --- tests/smallExample.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/smallExample.h b/tests/smallExample.h index 621ce52e3..9866d22aa 100644 --- a/tests/smallExample.h +++ b/tests/smallExample.h @@ -349,7 +349,7 @@ inline boost::shared_ptr sharedReallyNonlinearFactor using symbol_shorthand::X; using symbol_shorthand::L; boost::shared_ptr fg(new NonlinearFactorGraph); - Vector2 z = Vector2(1.0, 0.0); + Point2 z(1.0, 0.0); double sigma = 0.1; boost::shared_ptr factor( new smallOptimize::UnaryFactor(z, noiseModel::Isotropic::Sigma(2,sigma), X(1)));