From 821c08844cf59a0e8d988f94463ac306e0b2839b Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Sat, 4 Aug 2012 20:18:06 +0000 Subject: [PATCH] Printing fix --- gtsam/slam/PriorFactor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtsam/slam/PriorFactor.h b/gtsam/slam/PriorFactor.h index 0d0497132..79ea4c0ce 100644 --- a/gtsam/slam/PriorFactor.h +++ b/gtsam/slam/PriorFactor.h @@ -65,8 +65,8 @@ namespace gtsam { /** print */ virtual void print(const std::string& s, const KeyFormatter& keyFormatter = DefaultKeyFormatter) const { - std::cout << s << "PriorFactor on " << keyFormatter(this->key()) << ", prior value:\n"; - prior_.print(); + std::cout << s << "PriorFactor on " << keyFormatter(this->key()) << "\n"; + prior_.print(" prior mean: "); this->noiseModel_->print(" noise model: "); }