From aae4b5b69c28c7f84c829429437e2177c1c6e3ab Mon Sep 17 00:00:00 2001 From: Alex Cunningham Date: Sun, 23 Oct 2011 15:48:43 +0000 Subject: [PATCH] Added missing constructor to planar Values structure --- gtsam/slam/planarSLAM.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gtsam/slam/planarSLAM.h b/gtsam/slam/planarSLAM.h index 024b2f8ff..f400b54f3 100644 --- a/gtsam/slam/planarSLAM.h +++ b/gtsam/slam/planarSLAM.h @@ -58,11 +58,16 @@ namespace gtsam { TupleValues2(values) { } - /// Copy constructor - FIXME: shouldn't need to exist + /// Copy constructor Values(const TupleValues2::Base& values) : TupleValues2(values) { } + /// From sub-values + Values(const PoseValues& poses, const PointValues& points) : + TupleValues2(poses, points) { + } + // Convenience for MATLAB wrapper, which does not allow for identically named methods /// insert a pose