From 535809c1c6b54404fe20c43eb0f54607154a2fad Mon Sep 17 00:00:00 2001 From: Yong-Dian Jian Date: Mon, 8 Oct 2012 01:35:00 +0000 Subject: [PATCH] add #include --- gtsam/slam/GeneralSFMFactor.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gtsam/slam/GeneralSFMFactor.h b/gtsam/slam/GeneralSFMFactor.h index 5d9cb806d..c1c88908e 100644 --- a/gtsam/slam/GeneralSFMFactor.h +++ b/gtsam/slam/GeneralSFMFactor.h @@ -25,6 +25,7 @@ #include #include #include +#include namespace gtsam { @@ -98,8 +99,8 @@ namespace gtsam { catch( CheiralityException& e) { if (H1) *H1 = zeros(2, camera.dim()); if (H2) *H2 = zeros(2, point.dim()); - cout << e.what() << ": Landmark "<< DefaultKeyFormatter(this->key2()) - << " behind Camera " << DefaultKeyFormatter(this->key1()) << endl; + std::cout << e.what() << ": Landmark "<< DefaultKeyFormatter(this->key2()) + << " behind Camera " << DefaultKeyFormatter(this->key1()) << endl; } return zero(2); } @@ -191,8 +192,8 @@ namespace gtsam { if (H1) *H1 = zeros(2, pose3.dim()); if (H2) *H2 = zeros(2, point.dim()); if (H3) *H3 = zeros(2, calib.dim()); - cout << e.what() << ": Landmark "<< DefaultKeyFormatter(this->key2()) - << " behind Camera " << DefaultKeyFormatter(this->key1()) << endl; + std::cout << e.what() << ": Landmark "<< DefaultKeyFormatter(this->key2()) + << " behind Camera " << DefaultKeyFormatter(this->key1()) << endl; } return zero(2); }