Made node keys ordered to avoid copy constructor in eliminate

release/4.3a0
Frank Dellaert 2015-06-11 23:38:57 -07:00
parent 63d918ed7a
commit 692ddd8f36
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
#include <gtsam/base/Testable.h>
#include <gtsam/base/FastVector.h>
#include <gtsam/inference/Key.h>
#include <gtsam/inference/Ordering.h>
namespace gtsam
{
@ -37,7 +37,7 @@ namespace gtsam
typedef typename FactorGraphType::Eliminate Eliminate; ///< Typedef for an eliminate subroutine
struct Cluster {
typedef FastVector<Key> Keys;
typedef Ordering Keys;
typedef FastVector<sharedFactor> Factors;
typedef FastVector<boost::shared_ptr<Cluster> > Children;