Merge pull request #1564 from dr-robertk/PR/fix-compile-dune-master

[bugfix][ISTLSolverEbos] make compile with current dune master.
This commit is contained in:
Markus Blatt authored and GitHub committed 2018-09-24 07:25:30 +02:00
commit 9f2f6705bc
1 file changed
+2
+2
View File
@@ -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();
}