diff --git a/gtsam/geometry/CameraSet.h b/gtsam/geometry/CameraSet.h index d0c2d04d0..eb58d1658 100644 --- a/gtsam/geometry/CameraSet.h +++ b/gtsam/geometry/CameraSet.h @@ -140,9 +140,10 @@ public: } /// Calculate vector of re-projection errors - Vector reprojectionErrors(const Point3& point, - const std::vector& measured) const { - return ErrorVector(project2(point), measured); + Vector reprojectionErrors(const Point3& point, const std::vector& measured, + boost::optional F = boost::none, // + boost::optional E = boost::none) const { + return ErrorVector(project2(point,F,E), measured); } /// Calculate vector of re-projection errors, from point at infinity