Fixed error

release/4.3a0
Richard Roberts 2012-02-24 21:09:24 +00:00
parent 4d117037a5
commit 6944e884c9
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ namespace gtsam {
boost::optional<Matrix&> H1=boost::none, boost::optional<Matrix&> H2=boost::none) const {
try {
Point2 reprojError(camera.project2(point,H1,H2) - z_);
Point2 reprojError(camera.project2(point,H1,H2) - measured_);
return reprojError.vector();
}
catch( CheiralityException& e) {