From aebe40d19ff5669fd2f731188d7304c53722ba94 Mon Sep 17 00:00:00 2001 From: Sungtae An Date: Fri, 21 Nov 2014 20:50:30 -0500 Subject: [PATCH] Add the 4th input argument for calling PinholeCamera::project which does not take default arguments anymore. --- gtsam/slam/SmartFactorBase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/slam/SmartFactorBase.h b/gtsam/slam/SmartFactorBase.h index 8ff554104..ed60b1a4b 100644 --- a/gtsam/slam/SmartFactorBase.h +++ b/gtsam/slam/SmartFactorBase.h @@ -249,7 +249,7 @@ public: Matrix Ei(ZDim, 3); for (size_t i = 0; i < this->measured_.size(); i++) { try { - cameras[i].project(point, boost::none, Ei); + cameras[i].project(point, boost::none, Ei, boost::none); } catch (CheiralityException& e) { std::cout << "Cheirality exception " << std::endl; exit(EXIT_FAILURE);