Printing fix

release/4.3a0
Frank Dellaert 2012-08-04 20:18:06 +00:00
parent c5b2f6361a
commit 821c08844c
1 changed files with 2 additions and 2 deletions

View File

@ -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: ");
}