Add test for multiple symbols

This commit is contained in:
Gael Guennebaud
2017-01-24 16:27:51 +01:00
parent c43d254d13
commit bc10201854
2 changed files with 11 additions and 1 deletions

View File

@@ -235,7 +235,7 @@ public:
Index eval_impl(const SymbolValue<Tag> &values) const { return values.value(); }
#if __cplusplus > 201103L
#if EIGEN_HAS_CXX14
// C++14 versions suitable for multiple symbols
template<typename... Types>
Index eval_impl(const std::tuple<Types...>& values) const { return std::get<SymbolValue<Tag> >(values).value(); }