From 02b45d51863ce99b1a128ca9d75a7bfa5df23199 Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Sat, 27 Aug 2011 00:59:02 +0000 Subject: [PATCH] Cosmetic changes --- gtsam/geometry/Point2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtsam/geometry/Point2.h b/gtsam/geometry/Point2.h index 4a77e039b..447fe864a 100644 --- a/gtsam/geometry/Point2.h +++ b/gtsam/geometry/Point2.h @@ -62,7 +62,7 @@ namespace gtsam { boost::optional H2=boost::none) const { if(H1) *H1 = eye(2); if(H2) *H2 = eye(2); - return *this+p2; + return *this + p2; } /** "Inverse" - negates each coordinate such that compose(p,inverse(p))=Point2() */ @@ -86,7 +86,7 @@ namespace gtsam { boost::optional H2=boost::none) const { if(H1) *H1 = -eye(2); if(H2) *H2 = eye(2); - return p2- (*this); + return p2 - (*this); } /** get functions for x, y */