add constness for operator * in Pose2*Point2

release/4.3a0
Duy-Nguyen Ta 2011-07-15 03:12:43 +00:00
parent 19014eb60e
commit e517dee4f8
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ namespace gtsam {
boost::optional<Matrix&> 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)