printing detail

release/4.3a0
Frank Dellaert 2012-07-05 18:10:09 +00:00
parent 5912b7f235
commit 50b40b1b5b
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(" << 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: ");
}