From 92f822af2805617027a66cdacf33bef6b1fdebeb Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Mon, 16 Dec 2013 22:28:03 +0000 Subject: [PATCH] Fixed incorrect return type on FactorGraph::add --- gtsam/inference/FactorGraph.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gtsam/inference/FactorGraph.h b/gtsam/inference/FactorGraph.h index e5fceeb8d..043c4caf6 100644 --- a/gtsam/inference/FactorGraph.h +++ b/gtsam/inference/FactorGraph.h @@ -226,8 +226,7 @@ namespace gtsam { /** Add a factor directly using a shared_ptr */ template - typename boost::enable_if, - boost::assign::list_inserter > >::type + typename boost::enable_if >::type add(boost::shared_ptr factor) { push_back(factor); }