diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-03-30 15:34:07 +0200 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-03-30 15:34:51 +0200 |
commit | 5968cf4b6cf6907808011e66597054106df2a00f (patch) | |
tree | 223a467ae1ace1ae123a88934da4f6546432007a /src | |
parent | 8d9ddc51076ce0da3d0a4216b1bc495783f3733c (diff) | |
download | astra-5968cf4b6cf6907808011e66597054106df2a00f.tar.gz astra-5968cf4b6cf6907808011e66597054106df2a00f.tar.bz2 astra-5968cf4b6cf6907808011e66597054106df2a00f.tar.xz astra-5968cf4b6cf6907808011e66597054106df2a00f.zip |
Add missing error on wrong projgeom type in CProjector3D::initialize
Diffstat (limited to 'src')
-rw-r--r-- | src/Projector3D.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Projector3D.cpp b/src/Projector3D.cpp index b546ee9..def5237 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; |