diff --git a/opm/simulators/linalg/ISTLSolverEbosFlexible.hpp b/opm/simulators/linalg/ISTLSolverEbosFlexible.hpp index fc4ec427f..289780c9c 100644 --- a/opm/simulators/linalg/ISTLSolverEbosFlexible.hpp +++ b/opm/simulators/linalg/ISTLSolverEbosFlexible.hpp @@ -180,7 +180,7 @@ protected: void makeOverlapRowsInvalid(MatrixType& matrix) const { //value to set on diagonal - const int numEq = MatrixType::block_type::rows; + const int numEq = MatrixType::block_type::rows; typename MatrixType::block_type diag_block(0.0); for (int eq = 0; eq < numEq; ++eq) diag_block[eq][eq] = 1.0;