diff --git a/amdis/gridfunctions/CoordsGridFunction.hpp b/amdis/gridfunctions/CoordsGridFunction.hpp index 2512f186d7c15f38529659e45917271b496110fb..00a1925763d6eba43abaa62c59a097d792350f6d 100644 --- a/amdis/gridfunctions/CoordsGridFunction.hpp +++ b/amdis/gridfunctions/CoordsGridFunction.hpp @@ -46,7 +46,7 @@ namespace AMDiS template <class T, int N> Dune::DiagonalMatrix<T, N> operator()(Dune::FieldVector<T, N> const& /*x*/) const { - return Dune::DiagonalMatrix<T,N>{T(1)}; + return Dune::DiagonalMatrix<T,N>(T(1)); } }; friend Derivative derivativeOf(CoordsFunction const& /*f*/, tag::gradient)