Commit e00a15b6 authored by lh1887's avatar lh1887

is_indexable -> IsIndexable

The former has been deprecated.
See 58586370ba9da63f0dea9adf81be0e481ae6b41a in dune-common.
parent 7b854499
Pipeline #9179 failed with stage
in 13 seconds
......@@ -41,14 +41,14 @@ void resizeInitialize(Dune::BitSetVector<size, Alloc>& x, const Vector& y, bool
}
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)
{
x = 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)
{
namespace H = Dune::Hybrid;
......
Markdown is supported
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