From 47279b56e0462b62b0879f2e92bd18acbf14d5f0 Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Sat, 20 Jun 2015 23:45:22 -0700 Subject: [PATCH] Fixed print (now w symbols) --- gtsam/inference/ClusterTree-inst.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gtsam/inference/ClusterTree-inst.h b/gtsam/inference/ClusterTree-inst.h index ad7ab0063..1987a0a5a 100644 --- a/gtsam/inference/ClusterTree-inst.h +++ b/gtsam/inference/ClusterTree-inst.h @@ -122,10 +122,8 @@ namespace gtsam void ClusterTree::Cluster::print( const std::string& s, const KeyFormatter& keyFormatter) const { - std::cout << s; - BOOST_FOREACH(Key j, orderedFrontalKeys) - std::cout << j << " "; - std::cout << "problemSize = " << problemSize_ << std::endl; + std::cout << s << " (" << problemSize_ << ")" ; + PrintKeyVector(orderedFrontalKeys); } /* ************************************************************************* */