summaryrefslogtreecommitdiffstats
path: root/src/CudaForwardProjectionAlgorithm.cpp
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2015-12-09 19:04:12 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2015-12-09 19:06:10 +0100
commitea0ca6ec9a29bd95aaa74d701e51e65c2f64f894 (patch)
treeb22508dec73b82989350ad6b0b3d91b41d82aeea /src/CudaForwardProjectionAlgorithm.cpp
parent0d015b1c91581ee5ef3e936f03e4c62fbc7ea362 (diff)
downloadastra-ea0ca6ec9a29bd95aaa74d701e51e65c2f64f894.tar.gz
astra-ea0ca6ec9a29bd95aaa74d701e51e65c2f64f894.tar.bz2
astra-ea0ca6ec9a29bd95aaa74d701e51e65c2f64f894.tar.xz
astra-ea0ca6ec9a29bd95aaa74d701e51e65c2f64f894.zip
Fix uninitialized variable
Diffstat (limited to 'src/CudaForwardProjectionAlgorithm.cpp')
-rw-r--r--src/CudaForwardProjectionAlgorithm.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CudaForwardProjectionAlgorithm.cpp b/src/CudaForwardProjectionAlgorithm.cpp
index 9ca13ae..d38469c 100644
--- a/src/CudaForwardProjectionAlgorithm.cpp
+++ b/src/CudaForwardProjectionAlgorithm.cpp
@@ -94,6 +94,7 @@ bool CCudaForwardProjectionAlgorithm::initialize(const Config& _cfg)
ConfigStackCheck<CAlgorithm> CC("CudaForwardProjectionAlgorithm", this, _cfg);
// Projector
+ m_pProjector = 0;
XMLNode node = _cfg.self.getSingleNode("ProjectorId");
if (node) {
int id = boost::lexical_cast<int>(node.getContent());