Commit 368b552f authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

replace is_indexable by IsIndexable

parent df44be5e
......@@ -67,7 +67,7 @@ namespace Dune
// Evaluate a component of a vector valued data
template <class T,
std::enable_if_t<Dune::is_indexable<T,int>::value, int> = 0>
std::enable_if_t<IsIndexable<T,int>::value, int> = 0>
double evaluateImpl (int comp, T const& value) const
{
return value[comp];
......@@ -75,7 +75,7 @@ namespace Dune
// Return the scalar values
template <class T,
std::enable_if_t<not Dune::is_indexable<T,int>::value, int> = 0>
std::enable_if_t<not IsIndexable<T,int>::value, int> = 0>
double evaluateImpl (int comp, T const& value) const
{
assert(comp == 0);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment