From f294563a9e52d704c32f82d80b90eb53be030295 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Wed, 27 Jun 2018 15:21:31 +0200 Subject: Fix uninitialized variable in C++ API for BP3D_CUDA --- src/CudaBackProjectionAlgorithm3D.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 -- cgit v1.2.3