Fixed compile problem in Values

release/4.3a0
Alex Cunningham 2012-06-08 17:46:04 +00:00
parent 498fb85360
commit 370be58adb
1 changed files with 2 additions and 2 deletions

View File

@ -300,7 +300,7 @@ namespace gtsam {
*/ */
template<class ValueType> template<class ValueType>
Filtered<ValueType> Filtered<ValueType>
filter(const boost::function<bool(Key)>& filterFcn = &_truePredicate); filter(const boost::function<bool(Key)>& filterFcn = &_truePredicate<Key>);
/** /**
* Return a filtered view of this Values class, without copying any data. * Return a filtered view of this Values class, without copying any data.
@ -338,7 +338,7 @@ namespace gtsam {
*/ */
template<class ValueType> template<class ValueType>
ConstFiltered<ValueType> ConstFiltered<ValueType>
filter(const boost::function<bool(Key)>& filterFcn = _truePredicate) const; filter(const boost::function<bool(Key)>& filterFcn = &_truePredicate<Key>) const;
private: private:
// Filters based on ValueType (if not Value) and also based on the user- // Filters based on ValueType (if not Value) and also based on the user-