Commit 8bde01c7 authored by Stephan Hilb's avatar Stephan Hilb Committed by Andreas Dedner

remove dimRange member in ConstLocalFunction

When `RangeType` is e.g. a `FieldMatrix`, then `RangeType::dimension`
does not exist.

See discussion in 7d43014a (comment 55455)
parent c4dea6dc
Pipeline #18597 passed with stage
in 26 minutes and 28 seconds
......@@ -300,8 +300,6 @@ namespace Dune
typedef typename GF::LocalFunctionType::JacobianRangeType JacobianRangeType;
typedef typename GF::LocalFunctionType::HessianRangeType HessianRangeType;
static const int dimRange = RangeType::dimension;
explicit Type ( const GridFunctionType &gridFunction )
: GridFunctionType::LocalFunctionType( gridFunction ),
gridFunction_( gridFunction )
......@@ -369,7 +367,6 @@ namespace Dune
typedef typename GridFunctionDecayType::JacobianRangeType JacobianRangeType;
typedef typename GridFunctionDecayType::HessianRangeType HessianRangeType;
typedef typename GridFunctionDecayType::FunctionSpaceType FunctionSpaceType;
static const int dimRange = RangeType::dimension;
template<class Arg, std::enable_if_t<std::is_constructible<GF, Arg>::value, int> = 0>
explicit Type ( Arg&& gridFunction )
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