From 692ddd8f361ad957f4adf7738a19ef41acdcbf47 Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Thu, 11 Jun 2015 23:38:57 -0700 Subject: [PATCH] Made node keys ordered to avoid copy constructor in eliminate --- gtsam/inference/ClusterTree.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtsam/inference/ClusterTree.h b/gtsam/inference/ClusterTree.h index 5a412a79e..09bec7452 100644 --- a/gtsam/inference/ClusterTree.h +++ b/gtsam/inference/ClusterTree.h @@ -11,7 +11,7 @@ #include #include -#include +#include namespace gtsam { @@ -37,7 +37,7 @@ namespace gtsam typedef typename FactorGraphType::Eliminate Eliminate; ///< Typedef for an eliminate subroutine struct Cluster { - typedef FastVector Keys; + typedef Ordering Keys; typedef FastVector Factors; typedef FastVector > Children;