release/4.3a0
Frank Dellaert 2012-05-25 15:09:59 +00:00
parent 4ed447ca8e
commit 14f119a787
3 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ namespace gtsam {
/* ************************************************************************* */
void DecisionTreeFactor::print(const string& s) const {
cout << s << ":\n";
cout << s;
IndexFactor::print("IndexFactor:");
Potentials::print("Potentials:");
}

View File

@ -72,7 +72,7 @@ namespace gtsam {
bool equals(const DecisionTreeFactor& other, double tol = 1e-9) const;
// print
void print(const std::string& s = "DecisionTreeFactor: ") const;
void print(const std::string& s = "DecisionTreeFactor:\n") const;
/// @}
/// @name Standard Interface

View File

@ -82,7 +82,7 @@ namespace gtsam {
/// @{
// print
virtual void print(const std::string& s = "DiscreteFactor") const {
virtual void print(const std::string& s = "DiscreteFactor\n") const {
IndexFactor::print(s);
}