Fix compilation issue
parent
af07409c10
commit
460a9a958e
|
|
@ -51,7 +51,8 @@ struct PrintForestVisitorPre {
|
||||||
void DiscreteJunctionTree::print(const std::string& s,
|
void DiscreteJunctionTree::print(const std::string& s,
|
||||||
const KeyFormatter& keyFormatter) const {
|
const KeyFormatter& keyFormatter) const {
|
||||||
PrintForestVisitorPre visitor(keyFormatter);
|
PrintForestVisitorPre visitor(keyFormatter);
|
||||||
treeTraversal::DepthFirstForest(*this, std::string(s), visitor);
|
std::string parentString = s;
|
||||||
|
treeTraversal::DepthFirstForest(*this, parentString, visitor);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace gtsam
|
} // namespace gtsam
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue