mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
bugfix: Use a typedef that is actually defined.
Fixes `error: ‘LinearSolverScalar’ was not declared in this scope`.
This commit is contained in:
@@ -381,8 +381,8 @@ protected:
|
|||||||
bool linearSolve_(const TracerMatrix& M, TracerVector& x, TracerVector& b)
|
bool linearSolve_(const TracerMatrix& M, TracerVector& x, TracerVector& b)
|
||||||
{
|
{
|
||||||
#if ! DUNE_VERSION_NEWER(DUNE_COMMON, 2,7)
|
#if ! DUNE_VERSION_NEWER(DUNE_COMMON, 2,7)
|
||||||
Dune::FMatrixPrecision<LinearSolverScalar>::set_singular_limit(1.e-30);
|
Dune::FMatrixPrecision<Scalar>::set_singular_limit(1.e-30);
|
||||||
Dune::FMatrixPrecision<LinearSolverScalar>::set_absolute_limit(1.e-30);
|
Dune::FMatrixPrecision<Scalar>::set_absolute_limit(1.e-30);
|
||||||
#endif
|
#endif
|
||||||
x = 0.0;
|
x = 0.0;
|
||||||
Scalar tolerance = 1e-2;
|
Scalar tolerance = 1e-2;
|
||||||
|
|||||||
Reference in New Issue
Block a user