From 50b40b1b5bb27c22d24f4e5d839d88705217d6d2 Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Thu, 5 Jul 2012 18:10:09 +0000 Subject: [PATCH] printing detail --- 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 094065336..0d0497132 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(" << keyFormatter(this->key()) << ")\n"; - prior_.print(" prior"); + std::cout << s << "PriorFactor on " << keyFormatter(this->key()) << ", prior value:\n"; + prior_.print(); this->noiseModel_->print(" noise model: "); }