Commit 847c3e5d authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Merge branch 'issue/remove_warning' into 'master'

replace is_indexable by IsIndexable

See merge request extensions/dune-vtk!20
parents df44be5e 368b552f
...@@ -67,7 +67,7 @@ namespace Dune ...@@ -67,7 +67,7 @@ namespace Dune
// Evaluate a component of a vector valued data // Evaluate a component of a vector valued data
template <class T, 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 double evaluateImpl (int comp, T const& value) const
{ {
return value[comp]; return value[comp];
...@@ -75,7 +75,7 @@ namespace Dune ...@@ -75,7 +75,7 @@ namespace Dune
// Return the scalar values // Return the scalar values
template <class T, 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 double evaluateImpl (int comp, T const& value) const
{ {
assert(comp == 0); 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