summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Häggström <christian.haggstrom@orexplore.com>2014-10-31 14:00:38 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2015-01-20 11:15:28 +0100
commitd7746d6d0c9172a6176d7467e68f96315d34b7b2 (patch)
treeedcc30b4c3fb4caec961c0aecb35223d319527b2
parent70f522a7a64fa609766c1f5d5edcddc6ec143c6c (diff)
downloadastra-d7746d6d0c9172a6176d7467e68f96315d34b7b2.tar.gz
astra-d7746d6d0c9172a6176d7467e68f96315d34b7b2.tar.bz2
astra-d7746d6d0c9172a6176d7467e68f96315d34b7b2.tar.xz
astra-d7746d6d0c9172a6176d7467e68f96315d34b7b2.zip
Silence bogus warning:
Warning: CudaSirtAlgorithm3D: unused configuration options: SinogramMaskId
-rw-r--r--src/ReconstructionAlgorithm3D.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ReconstructionAlgorithm3D.cpp b/src/ReconstructionAlgorithm3D.cpp
index d50431c..2a9a301 100644
--- a/src/ReconstructionAlgorithm3D.cpp
+++ b/src/ReconstructionAlgorithm3D.cpp
@@ -145,6 +145,7 @@ bool CReconstructionAlgorithm3D::initialize(const Config& _cfg)
id = boost::lexical_cast<int>(_cfg.self->getOption("SinogramMaskId"));
m_pSinogramMask = dynamic_cast<CFloat32ProjectionData3D*>(CData3DManager::getSingleton().get(id));
}
+ CC.markOptionParsed("SinogramMaskId");
// Constraints - NEW
if (_cfg.self->hasOption("MinConstraint")) {