Skip to content
Snippets Groups Projects
Commit 12b54196 authored by Carsten Gräser's avatar Carsten Gräser
Browse files

[bugfix] Use const references in TruncatedBlockGSStep constructor

There's no need to pass the matrix and rhs non-const.
parent bc057ce9
Branches
No related tags found
No related merge requests found
Pipeline #
......@@ -34,7 +34,7 @@ public:
{}
//! Constructor with a linear problem
TruncatedBlockGSStep(MatrixType& mat, VectorType& x, VectorType& rhs, int innerLoops=1)
TruncatedBlockGSStep(const MatrixType& mat, VectorType& x, const VectorType& rhs, int innerLoops=1)
: LinearIterationStep<MatrixType,VectorType>(mat, x, rhs),
innerLoops_(innerLoops)
{}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment