summaryrefslogtreecommitdiffstats
path: root/src/Projector3D.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Projector3D.cpp')
-rw-r--r--src/Projector3D.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Projector3D.cpp b/src/Projector3D.cpp
index b546ee9..14cb16a 100644
--- a/src/Projector3D.cpp
+++ b/src/Projector3D.cpp
@@ -108,6 +108,7 @@ bool CProjector3D::initialize(const Config& _cfg)
pProjGeometry = new CConeVecProjectionGeometry3D();
} else {
// Invalid geometry type
+ ASTRA_CONFIG_CHECK(false, "Projector3D", "Invalid projection geometry type specified.");
}
pProjGeometry->initialize(Config(node)); // this deletes node
m_pProjectionGeometry = pProjGeometry;
@@ -119,7 +120,7 @@ bool CProjector3D::initialize(const Config& _cfg)
CVolumeGeometry3D* pVolGeometry = new CVolumeGeometry3D();
pVolGeometry->initialize(Config(node)); // this deletes node
m_pVolumeGeometry = pVolGeometry;
- ASTRA_CONFIG_CHECK(m_pVolumeGeometry->isInitialized(), "Projector2D", "VolumeGeometry not initialized.");
+ ASTRA_CONFIG_CHECK(m_pVolumeGeometry->isInitialized(), "Projector3D", "VolumeGeometry not initialized.");
CC.markNodeParsed("VolumeGeometry");
return true;