Skip to content
Snippets Groups Projects
Commit e00a15b6 authored by lh1887's avatar lh1887
Browse files

is_indexable -> IsIndexable

The former has been deprecated.
See 58586370ba9da63f0dea9adf81be0e481ae6b41a in dune-common.
parent 7b854499
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -41,14 +41,14 @@ void resizeInitialize(Dune::BitSetVector<size, Alloc>& x, const Vector& y, bool ...@@ -41,14 +41,14 @@ void resizeInitialize(Dune::BitSetVector<size, Alloc>& x, const Vector& y, bool
} }
template<class TargetVector, class Vector, class Value, template<class TargetVector, class Vector, class Value,
std::enable_if_t<not Dune::is_indexable<TargetVector, std::integral_constant<std::size_t,0> >::value, int> = 0> std::enable_if_t<not Dune::IsIndexable<TargetVector, std::integral_constant<std::size_t,0> >::value, int> = 0>
void resizeInitialize(TargetVector& x, const Vector& y, const Value& value) void resizeInitialize(TargetVector& x, const Vector& y, const Value& value)
{ {
x = value; x = value;
} }
template<class TargetVector, class Vector, class Value, template<class TargetVector, class Vector, class Value,
std::enable_if_t<Dune::is_indexable<TargetVector, std::integral_constant<std::size_t,0> >::value, int> = 0> std::enable_if_t<Dune::IsIndexable<TargetVector, std::integral_constant<std::size_t,0> >::value, int> = 0>
void resizeInitialize(TargetVector& x, const Vector& y, const Value& value) void resizeInitialize(TargetVector& x, const Vector& y, const Value& value)
{ {
namespace H = Dune::Hybrid; namespace H = Dune::Hybrid;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment