From e517dee4f89532b6aa891377cdd6328acccc3572 Mon Sep 17 00:00:00 2001 From: Duy-Nguyen Ta Date: Fri, 15 Jul 2011 03:12:43 +0000 Subject: [PATCH] add constness for operator * in Pose2*Point2 --- gtsam/geometry/Pose2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/geometry/Pose2.h b/gtsam/geometry/Pose2.h index 93fdaad69..043d74452 100644 --- a/gtsam/geometry/Pose2.h +++ b/gtsam/geometry/Pose2.h @@ -99,7 +99,7 @@ namespace gtsam { boost::optional H2 = boost::none) const; /** syntactic sugar for transform_from */ - inline Point2 operator*(const Point2& point) { return transform_from(point);} + inline Point2 operator*(const Point2& point) const { return transform_from(point);} /** * Exponential map from se(2) to SE(2)