From 155f64e1bf95d06ba3b29117064aa34d019cfacb Mon Sep 17 00:00:00 2001 From: dellaert Date: Tue, 7 Oct 2014 01:16:10 +0200 Subject: [PATCH] No more default --- examples/CameraResectioning.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } };