diff --git a/istl/ilu.hh b/istl/ilu.hh index c8ff512d7f6cc3bb91425cfe0fdd830aa96c0a93..03a55c73b739f1b4a69d99dd8d8118359d570ea0 100644 --- a/istl/ilu.hh +++ b/istl/ilu.hh @@ -127,9 +127,9 @@ namespace Dune { } template<class K> - K& firstmatrixelement (K11Matrix<K>& A) + K& firstmatrixelement (FieldMatrix<K,1,1>& A) { - return A(); + return A[0][0]; }