diff --git a/gtsam/inference/VariableIndex.h b/gtsam/inference/VariableIndex.h index 49a4ba462..083073c12 100644 --- a/gtsam/inference/VariableIndex.h +++ b/gtsam/inference/VariableIndex.h @@ -43,7 +43,7 @@ class VariableIndex { public: typedef boost::shared_ptr shared_ptr; - typedef std::list Factors; + typedef FastList Factors; typedef Factors::iterator Factor_iterator; typedef Factors::const_iterator Factor_const_iterator;