From d435fa72dfb666fc0612d4ba03827e2073806cb1 Mon Sep 17 00:00:00 2001 From: krunalchande Date: Mon, 22 Dec 2014 18:22:28 -0500 Subject: [PATCH] removed all printing --- gtsam_unstable/nonlinear/NonlinearConstraint.h | 3 --- gtsam_unstable/nonlinear/tests/testSQPSimple.cpp | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/gtsam_unstable/nonlinear/NonlinearConstraint.h b/gtsam_unstable/nonlinear/NonlinearConstraint.h index af52ea178..d4c7f86b5 100644 --- a/gtsam_unstable/nonlinear/NonlinearConstraint.h +++ b/gtsam_unstable/nonlinear/NonlinearConstraint.h @@ -108,11 +108,8 @@ public: lG11sum += -lambda[i] * G11[i]; } - - std::cout << "lG11sum: " << lG11sum << std::endl; HessianFactor::shared_ptr hf(new HessianFactor(Base::key(), lG11sum, zero(X1Dim), 100.0)); - hf->print("HessianFactor: "); return hf; } diff --git a/gtsam_unstable/nonlinear/tests/testSQPSimple.cpp b/gtsam_unstable/nonlinear/tests/testSQPSimple.cpp index d83312ee1..b2be55289 100644 --- a/gtsam_unstable/nonlinear/tests/testSQPSimple.cpp +++ b/gtsam_unstable/nonlinear/tests/testSQPSimple.cpp @@ -215,7 +215,7 @@ public: * Single iteration of SQP */ SQPSimpleState iterate(const SQPSimpleState& state) const { - static const bool debug = true; + static const bool debug = false; // construct the qp subproblem QP qp;