diff --git a/gtsam/nonlinear/Values.h b/gtsam/nonlinear/Values.h index 03bafaf3e..4a6ec092b 100644 --- a/gtsam/nonlinear/Values.h +++ b/gtsam/nonlinear/Values.h @@ -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-