From 301ec3d2f442952d7146d2a8960681596ed3393f Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Fri, 21 Oct 2011 02:18:03 +0000 Subject: [PATCH] Vector and Matrix should always be listed in gtsam.h without const &, to trigger the correct unwrap code --- gtsam.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam.h b/gtsam.h index 06b4c442a..fa041dba0 100644 --- a/gtsam.h +++ b/gtsam.h @@ -33,7 +33,7 @@ class Pose2 { double y() const; double theta() const; size_t dim() const; - Pose2 expmap(const Vector& v) const; + Pose2 expmap(Vector v) const; Vector logmap(const Pose2& pose) const; Point2 t() const; Rot2 r() const;