const correctness

release/4.3a0
cbeall3 2014-07-10 07:51:24 -04:00
parent 2eef2c14b5
commit 391a29bcaf
1 changed files with 2 additions and 2 deletions

View File

@ -143,12 +143,12 @@ namespace gtsam {
} }
/** convenient function to get a Point2 from the left image */ /** convenient function to get a Point2 from the left image */
inline Point2 point2(){ inline Point2 point2() const {
return Point2(uL_, v_); return Point2(uL_, v_);
} }
/** convenient function to get a Point2 from the right image */ /** convenient function to get a Point2 from the right image */
inline Point2 right(){ inline Point2 const right(){
return Point2(uR_, v_); return Point2(uR_, v_);
} }