summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2014-10-06 13:24:42 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2014-10-06 13:24:42 +0200
commit99983565c5dbce34c40eda776eb9a25e228abeb2 (patch)
treeb3c0b67ea8727c2597a2678a0a5634b5d1ac8cca
parent5d5f27a910d1fa63974cf4f4dc2485c60906441c (diff)
downloadastra-99983565c5dbce34c40eda776eb9a25e228abeb2.tar.gz
astra-99983565c5dbce34c40eda776eb9a25e228abeb2.tar.bz2
astra-99983565c5dbce34c40eda776eb9a25e228abeb2.tar.xz
astra-99983565c5dbce34c40eda776eb9a25e228abeb2.zip
Fix warning
-rw-r--r--src/CudaFilteredBackProjectionAlgorithm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CudaFilteredBackProjectionAlgorithm.cpp b/src/CudaFilteredBackProjectionAlgorithm.cpp
index 63f4f40..c4a8e51 100644
--- a/src/CudaFilteredBackProjectionAlgorithm.cpp
+++ b/src/CudaFilteredBackProjectionAlgorithm.cpp
@@ -110,7 +110,7 @@ bool CCudaFilteredBackProjectionAlgorithm::initialize(const Config& _cfg)
node = _cfg.self->getSingleNode("FilterSinogramId");
if(node != NULL)
{
- int id = boost::lexical_cast<int>(node->getContent());
+ id = boost::lexical_cast<int>(node->getContent());
const CFloat32ProjectionData2D * pFilterData = dynamic_cast<CFloat32ProjectionData2D*>(CData2DManager::getSingleton().get(id));
m_iFilterWidth = pFilterData->getGeometry()->getDetectorCount();
int iFilterProjectionCount = pFilterData->getGeometry()->getProjectionAngleCount();