Use KeyFormatter in BayesNet::saveGraph
parent
f5bb8c6507
commit
c24cc8d2e2
|
@ -45,7 +45,7 @@ namespace gtsam {
|
||||||
Key me = frontals.front();
|
Key me = frontals.front();
|
||||||
typename CONDITIONAL::Parents parents = conditional->parents();
|
typename CONDITIONAL::Parents parents = conditional->parents();
|
||||||
BOOST_FOREACH(Key p, parents)
|
BOOST_FOREACH(Key p, parents)
|
||||||
of << p << "->" << me << std::endl;
|
of << keyFormatter(p) << "->" << keyFormatter(me) << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
of << "}";
|
of << "}";
|
||||||
|
|
Loading…
Reference in New Issue