Skip to content
Snippets Groups Projects
Commit 13d34cb8 authored by Christian Engwer's avatar Christian Engwer
Browse files

[iterative kernels]

make sure 1 is casted to the correct type (fix complex)
(patch by Matthias Wohlmuth)

[[Imported from SVN: r1667]]
parent af473280
No related branches found
No related tags found
No related merge requests found
...@@ -418,7 +418,7 @@ namespace Dune { ...@@ -418,7 +418,7 @@ namespace Dune {
algmeta_itsteps<I-1>::dbgs(*diag,x[i.index()],rhs,w); algmeta_itsteps<I-1>::dbgs(*diag,x[i.index()],rhs,w);
} }
x *= w; x *= w;
x.axpy(1-w,xold); x.axpy(K(1)-w,xold);
} }
#if HAVE_BOOST #if HAVE_BOOST
......
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