From e356c30dadc3920731cb3ec2989ddc736c798e08 Mon Sep 17 00:00:00 2001 From: Alex Cunningham Date: Tue, 18 Oct 2011 01:58:46 +0000 Subject: [PATCH] fixed typos in print() --- gtsam/nonlinear/NonlinearConstraint.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gtsam/nonlinear/NonlinearConstraint.h b/gtsam/nonlinear/NonlinearConstraint.h index 71972ff67..ce3738ed9 100644 --- a/gtsam/nonlinear/NonlinearConstraint.h +++ b/gtsam/nonlinear/NonlinearConstraint.h @@ -329,7 +329,7 @@ public: /** Print */ virtual void print(const std::string& s = "") const { std::cout << s << ": NonlinearConstraint(" - << (std::string) this->key1_ << ")," + << (std::string) this->key1_ << "," << (std::string) this->key2_ << ")," << " mu = " << this->mu_ << " dim = " << this->dim_ << std::endl; @@ -386,7 +386,7 @@ public: /** Print */ virtual void print(const std::string& s = "") const { std::cout << s << ": NonlinearEqualityConstraint(" - << (std::string) this->key1_ << ")," + << (std::string) this->key1_ << "," << (std::string) this->key2_ << ")," << " mu = " << this->mu_ << " dim = " << this->dim_ << std::endl; @@ -462,8 +462,8 @@ public: /** Print */ virtual void print(const std::string& s = "") const { std::cout << s << ": NonlinearConstraint(" - << (std::string) this->key1_ << ")," - << (std::string) this->key2_ << ")," + << (std::string) this->key1_ << "," + << (std::string) this->key2_ << "," << (std::string) this->key3_ << ")," << " mu = " << this->mu_ << " dim = " << this->dim_ << std::endl; @@ -525,8 +525,8 @@ public: /** Print */ virtual void print(const std::string& s = "") const { std::cout << s << ": NonlinearEqualityConstraint(" - << (std::string) this->key1_ << ")," - << (std::string) this->key2_ << ")," + << (std::string) this->key1_ << "," + << (std::string) this->key2_ << "," << (std::string) this->key3_ << ")," << " mu = " << this->mu_ << " dim = " << this->dim_ << std::endl;