Cosmetic changes

release/4.3a0
Richard Roberts 2011-08-27 00:59:02 +00:00
parent 02a6a8caad
commit 02b45d5186
1 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ namespace gtsam {
boost::optional<Matrix&> H2=boost::none) const { boost::optional<Matrix&> H2=boost::none) const {
if(H1) *H1 = eye(2); if(H1) *H1 = eye(2);
if(H2) *H2 = eye(2); if(H2) *H2 = eye(2);
return *this+p2; return *this + p2;
} }
/** "Inverse" - negates each coordinate such that compose(p,inverse(p))=Point2() */ /** "Inverse" - negates each coordinate such that compose(p,inverse(p))=Point2() */
@ -86,7 +86,7 @@ namespace gtsam {
boost::optional<Matrix&> H2=boost::none) const { boost::optional<Matrix&> H2=boost::none) const {
if(H1) *H1 = -eye(2); if(H1) *H1 = -eye(2);
if(H2) *H2 = eye(2); if(H2) *H2 = eye(2);
return p2- (*this); return p2 - (*this);
} }
/** get functions for x, y */ /** get functions for x, y */