mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-14 22:33:26 -06:00
[bugfix][ISTLSolverEbos] make compile with current dune master.
This commit is contained in:
parent
25248066d8
commit
97f8f76d13
@ -228,7 +228,9 @@ static inline void invertMatrix (FieldMatrix<K,4,4> &matrix)
|
||||
template <typename K, int n>
|
||||
static inline void invertMatrix (FieldMatrix<K,n,n> &matrix)
|
||||
{
|
||||
#if ! DUNE_VERSION_NEWER( DUNE_COMMON, 2, 7 )
|
||||
Dune::FMatrixPrecision<K>::set_singular_limit(1.e-20);
|
||||
#endif
|
||||
matrix.invert();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user