mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Made the solve() methods const.
This commit is contained in:
@@ -52,7 +52,7 @@ namespace Opm
|
||||
/// Note: this method is a convenience method that calls the virtual solve() method.
|
||||
LinearSolverReport solve(const CSRMatrix* A,
|
||||
const double* rhs,
|
||||
double* solution);
|
||||
double* solution) const;
|
||||
|
||||
/// Solve a linear system, with a matrix given in compressed sparse row format.
|
||||
/// \param[in] size # of rows in matrix
|
||||
@@ -69,7 +69,7 @@ namespace Opm
|
||||
const int* ja,
|
||||
const double* sa,
|
||||
const double* rhs,
|
||||
double* solution) = 0;
|
||||
double* solution) const = 0;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user