From d141cdab8c18414a3043ec834517f506cace334c Mon Sep 17 00:00:00 2001 From: Manohar Paluri Date: Sun, 13 Sep 2009 03:43:15 +0000 Subject: [PATCH] rolling back + operator overload for scalars ( Not approved by FD ) --- cpp/Point2.h | 1 - 1 file changed, 1 deletion(-) diff --git a/cpp/Point2.h b/cpp/Point2.h index 32fd57dfe..0568445e7 100644 --- a/cpp/Point2.h +++ b/cpp/Point2.h @@ -48,7 +48,6 @@ namespace gtsam { /** operators */ inline bool operator ==(const Point2& q) const {return x_==q.x_ && q.y_==q.y_;} inline Point2 operator + (const Point2& q) const {return Point2(x_+q.x_,y_+q.y_);} - inline Point2 operator + (double value) const {return Point2(x_+value,y_+value);} inline Point2 operator - (const Point2& q) const {return Point2(x_-q.x_,y_-q.y_);} inline Point2 operator / (double q) const {return Point2(x_/q,y_/q);}