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