Skip to content
Snippets Groups Projects
Commit 6e7d7634 authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

CGStep: resize `p_` when size of problem might change

parent ea375df3
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,7 @@ namespace Dune {
this->setMatrix(mat);
setProblem(x);
r_ = rhs;
p_.resize(r_.size());
}
void check() const override;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment