summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2018-06-27 15:21:31 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2018-06-27 15:21:31 +0200
commitf294563a9e52d704c32f82d80b90eb53be030295 (patch)
tree3fe90046998ce9b91bf23d70c50e87291146f7e8 /src
parent10d87f45bc9311c0408e4cacdec587eff8bc37f8 (diff)
downloadastra-f294563a9e52d704c32f82d80b90eb53be030295.tar.gz
astra-f294563a9e52d704c32f82d80b90eb53be030295.tar.bz2
astra-f294563a9e52d704c32f82d80b90eb53be030295.tar.xz
astra-f294563a9e52d704c32f82d80b90eb53be030295.zip
Fix uninitialized variable in C++ API for BP3D_CUDA
Diffstat (limited to 'src')
-rw-r--r--src/CudaBackProjectionAlgorithm3D.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CudaBackProjectionAlgorithm3D.cpp b/src/CudaBackProjectionAlgorithm3D.cpp
index 3fa19a1..d17c1cb 100644
--- a/src/CudaBackProjectionAlgorithm3D.cpp
+++ b/src/CudaBackProjectionAlgorithm3D.cpp
@@ -158,6 +158,8 @@ bool CCudaBackProjectionAlgorithm3D::initialize(CProjector3D* _pProjector,
m_pSinogram = _pSinogram;
m_pReconstruction = _pReconstruction;
+ m_bSIRTWeighting = false;
+
initializeFromProjector();
// success