Skip to content
Snippets Groups Projects
Commit a8e40bf2 authored by Markus Blatt's avatar Markus Blatt
Browse files

Use end and do not allow more steps than maxsteps.

[[Imported from SVN: r1743]]
parent 8c7f8baf
No related branches found
No related tags found
No related merge requests found
......@@ -1602,7 +1602,7 @@ namespace Dune {
while(i<_maxit) {
// the loop
int end=std::min(_restart, _maxit-i);
for (ii=1; ii<_restart; ++ii )
for (ii=1; ii<end; ++ii )
{
//std::cout<<" ii="<<ii<<" i="<<i<<std::endl;
// compute next conjugate direction
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment