From 370be58adbb07f4fc8bb1af7425f29cb25fa538d Mon Sep 17 00:00:00 2001 From: Alex Cunningham Date: Fri, 8 Jun 2012 17:46:04 +0000 Subject: [PATCH] Fixed compile problem in Values --- gtsam/nonlinear/Values.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtsam/nonlinear/Values.h b/gtsam/nonlinear/Values.h index 4a6ec092b..8b8fbc71c 100644 --- a/gtsam/nonlinear/Values.h +++ b/gtsam/nonlinear/Values.h @@ -300,7 +300,7 @@ namespace gtsam { */ template Filtered - filter(const boost::function& filterFcn = &_truePredicate); + filter(const boost::function& filterFcn = &_truePredicate); /** * Return a filtered view of this Values class, without copying any data. @@ -338,7 +338,7 @@ namespace gtsam { */ template ConstFiltered - filter(const boost::function& filterFcn = _truePredicate) const; + filter(const boost::function& filterFcn = &_truePredicate) const; private: // Filters based on ValueType (if not Value) and also based on the user-