Move MatrixBlock specializations inside namespace.

This is necessary since the calls are ns-qualified in the
matrix market code.
This commit is contained in:
Atgeirr Flø Rasmussen 2022-06-16 11:37:40 +02:00
parent 2992ec25d8
commit 66ff942b2f

View File

@ -44,19 +44,20 @@ namespace MatrixMarketImpl
} }
}; };
} // namespace MatrixMarketImpl template<class M>
struct mm_multipliers;
template<class M> template <typename T, int i, int j, typename A>
struct mm_multipliers; struct mm_multipliers<BCRSMatrix<Opm::MatrixBlock<T,i,j>, A>>
{
template <typename T, int i, int j, typename A>
struct mm_multipliers<BCRSMatrix<Opm::MatrixBlock<T,i,j>, A>>
{
enum { enum {
rows = i, rows = i,
cols = j cols = j
}; };
}; };
} // namespace MatrixMarketImpl
} // namespace Dune } // namespace Dune