Skip to content
Snippets Groups Projects
Commit ea2e8793 authored by graeser's avatar graeser Committed by graeser
Browse files

Use only one iteration step for BlockSize==1

This is already exact, so there is no need to do 20 steps

[[Imported from SVN: r5919]]
parent cb29a2fb
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ void ProjectedBlockGSStep<OperatorType, DiscFuncType>::iterate()
// Initial correction
v = 0;
for (int j=0; j<20; j++) {
for (int j=0; j< ((BlockSize==1) ? 1 : 20); j++) {
for (int k=0; k<BlockSize; k++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment