mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-08-17 21:34:50 -05:00
[bugfix][ISTLSolverEbos] make compile with current dune master.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user