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

Do not preprocess smoothers if there is only one level.

[[Imported from SVN: r3188]]
parent 06b099db
No related branches found
No related tags found
No related merge requests found
......@@ -137,7 +137,9 @@ namespace Dune
RIterator rhs = rhs_->finest();
DIterator lhs = lhs_->finest();
smoother->pre(*lhs,*rhs);
if(rhs!=rhs_->coarsest())
// No smoothers!
smoother->pre(*lhs,*rhs);
if(smoother != coarsest)
for(++smoother, ++lhs, ++rhs; smoother != coarsest; ++smoother, ++lhs, ++rhs)
......
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