From 27186624673bce7ed63d8efb38a304b09e1215cf Mon Sep 17 00:00:00 2001 From: dellaert Date: Sun, 5 Oct 2014 15:01:36 +0200 Subject: [PATCH] Removed debug printing --- gtsam_unstable/nonlinear/Expression-inl.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/gtsam_unstable/nonlinear/Expression-inl.h b/gtsam_unstable/nonlinear/Expression-inl.h index f9187ec65..a282e8e84 100644 --- a/gtsam_unstable/nonlinear/Expression-inl.h +++ b/gtsam_unstable/nonlinear/Expression-inl.h @@ -21,7 +21,6 @@ #include #include -#include #include namespace gtsam { @@ -232,8 +231,6 @@ public: virtual boost::shared_ptr reverse(const Values& values) const { boost::shared_ptr trace = boost::make_shared(); trace->t = constant_; - std::cout << "constant\n:"; - GTSAM_PRINT(trace->t); return trace; } }; @@ -284,7 +281,6 @@ public: /// Return value and derivatives virtual Augmented augmented(const Matrix& H) const { // Base case: just insert H in the JacobianMap with correct key - std::cout << "Inserting Jacobian " << DefaultKeyFormatter(key) << "\n"; return Augmented(this->t, key, H); } }; @@ -294,8 +290,6 @@ public: boost::shared_ptr trace = boost::make_shared(); trace->t = value(values); trace->key = key_; - std::cout << "Leaf(" << DefaultKeyFormatter(key_) << "):\n"; - GTSAM_PRINT(trace->t); return trace; } @@ -367,10 +361,7 @@ public: virtual boost::shared_ptr reverse(const Values& values) const { boost::shared_ptr trace = boost::make_shared(); trace->trace1 = this->expressionA_->reverse(values); - std::cout << "Unary:\n"; - GTSAM_PRINT(trace->trace1->value()); trace->t = function_(trace->trace1->value(), trace->H1); - GTSAM_PRINT(trace->t); return trace; } }; @@ -458,12 +449,8 @@ public: boost::shared_ptr trace = boost::make_shared(); trace->trace1 = this->expressionA1_->reverse(values); trace->trace2 = this->expressionA2_->reverse(values); - std::cout << "Binary:\n"; - GTSAM_PRINT(trace->trace1->value()); - GTSAM_PRINT(trace->trace2->value()); trace->t = function_(trace->trace1->value(), trace->trace2->value(), trace->H1, trace->H2); - GTSAM_PRINT(trace->t); return trace; }