From fe34a644e42a7b325c1fb70a12f57a0e9a5eccc2 Mon Sep 17 00:00:00 2001 From: Alex Cunningham Date: Mon, 17 Oct 2011 18:43:59 +0000 Subject: [PATCH] Simplified print function in NonlinearConstraint --- gtsam/nonlinear/NonlinearConstraint.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gtsam/nonlinear/NonlinearConstraint.h b/gtsam/nonlinear/NonlinearConstraint.h index 2ad147d8d..4b04e4a34 100644 --- a/gtsam/nonlinear/NonlinearConstraint.h +++ b/gtsam/nonlinear/NonlinearConstraint.h @@ -81,11 +81,7 @@ public: /** Print */ virtual void print(const std::string& s = "") const { - std::cout << "NonlinearConstraint " << s << std::endl; - std::cout << " "; - BOOST_FOREACH(const Symbol& key, this->keys()) { std::cout << (std::string)key << " "; } - std::cout << "\n"; - std::cout << "mu: " << this->mu_ << std::endl; + std::cout << "NonlinearConstraint " << s << " mu: " << this->mu_ << std::endl; } /** Check if two factors are equal */