diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-03-30 17:17:54 +0200 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-03-30 17:17:54 +0200 |
commit | 3042b1369a96eef4798ea4280dd7aa1a8be2fcca (patch) | |
tree | 9f4f67f552c32bfeeb02497fbbe0a053d5e792f3 /cuda/2d/par_fp.cu | |
parent | b70ed00ebdf2dc952e29daf4b335bc47fd7c2ea0 (diff) | |
download | astra-3042b1369a96eef4798ea4280dd7aa1a8be2fcca.tar.gz astra-3042b1369a96eef4798ea4280dd7aa1a8be2fcca.tar.bz2 astra-3042b1369a96eef4798ea4280dd7aa1a8be2fcca.tar.xz astra-3042b1369a96eef4798ea4280dd7aa1a8be2fcca.zip |
Initialize variables to avoid warning
These variables are never used when uninitialized, but Visual Studio complains
about them.
Diffstat (limited to 'cuda/2d/par_fp.cu')
-rw-r--r-- | cuda/2d/par_fp.cu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cuda/2d/par_fp.cu b/cuda/2d/par_fp.cu index d0ca7ff..bb8b909 100644 --- a/cuda/2d/par_fp.cu +++ b/cuda/2d/par_fp.cu @@ -487,7 +487,7 @@ bool FP_simple_internal(float* D_volumeData, unsigned int volumePitch, unsigned int blockEnd = 0; bool blockVertical = false; for (unsigned int a = 0; a <= dims.iProjAngles; ++a) { - bool vertical; + bool vertical = false; // TODO: Having <= instead of < below causes a 5% speedup. // Maybe we should detect corner cases and put them in the optimal // group of angles. |