diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2018-06-27 15:21:31 +0200 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2018-06-27 15:21:31 +0200 |
commit | f294563a9e52d704c32f82d80b90eb53be030295 (patch) | |
tree | 3fe90046998ce9b91bf23d70c50e87291146f7e8 /src/CudaBackProjectionAlgorithm3D.cpp | |
parent | 10d87f45bc9311c0408e4cacdec587eff8bc37f8 (diff) | |
download | astra-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/CudaBackProjectionAlgorithm3D.cpp')
-rw-r--r-- | src/CudaBackProjectionAlgorithm3D.cpp | 2 |
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 |