diff --git a/examples/CameraResectioning.cpp b/examples/CameraResectioning.cpp index 2048a84c8..f1e1a0010 100644 --- a/examples/CameraResectioning.cpp +++ b/examples/CameraResectioning.cpp @@ -48,7 +48,7 @@ public: virtual Vector evaluateError(const Pose3& pose, boost::optional H = boost::none) const { SimpleCamera camera(pose, *K_); - Point2 reprojectionError(camera.project(P_, H) - p_); + Point2 reprojectionError(camera.project(P_, H, boost::none, boost::none) - p_); return reprojectionError.vector(); } };