From c24cc8d2e270c92e1ef7b8afe7d9340963bd6fb6 Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Wed, 18 Sep 2013 17:23:38 +0000 Subject: [PATCH] Use KeyFormatter in BayesNet::saveGraph --- gtsam/inference/BayesNet-inst.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/inference/BayesNet-inst.h b/gtsam/inference/BayesNet-inst.h index db9c29519..f5e69fcce 100644 --- a/gtsam/inference/BayesNet-inst.h +++ b/gtsam/inference/BayesNet-inst.h @@ -45,7 +45,7 @@ namespace gtsam { Key me = frontals.front(); typename CONDITIONAL::Parents parents = conditional->parents(); BOOST_FOREACH(Key p, parents) - of << p << "->" << me << std::endl; + of << keyFormatter(p) << "->" << keyFormatter(me) << std::endl; } of << "}";