diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2017-01-12 13:51:00 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2017-01-12 13:51:00 +0100 |
commit | f2789774ca5c5540c625ad930c06f712c6e0122b (patch) | |
tree | f86e2210cf5448587cd749b3b7a8cfd79541d51d | |
parent | 67ad5142d08fa7708f2f7fc7db5e011e4e54e1d4 (diff) | |
download | astra-f2789774ca5c5540c625ad930c06f712c6e0122b.tar.gz astra-f2789774ca5c5540c625ad930c06f712c6e0122b.tar.bz2 astra-f2789774ca5c5540c625ad930c06f712c6e0122b.tar.xz astra-f2789774ca5c5540c625ad930c06f712c6e0122b.zip |
Fix VolumeGeometry class name in error messages
-rw-r--r-- | src/VolumeGeometry2D.cpp | 4 | ||||
-rw-r--r-- | src/VolumeGeometry3D.cpp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/VolumeGeometry2D.cpp b/src/VolumeGeometry2D.cpp index b08fcb5..dd056ae 100644 --- a/src/VolumeGeometry2D.cpp +++ b/src/VolumeGeometry2D.cpp @@ -163,13 +163,13 @@ bool CVolumeGeometry2D::initialize(const Config& _cfg) // Required: GridColCount XMLNode node = _cfg.self.getSingleNode("GridColCount"); - ASTRA_CONFIG_CHECK(node, "ReconstructionGeometry2D", "No GridColCount tag specified."); + ASTRA_CONFIG_CHECK(node, "VolumeGeometry2D", "No GridColCount tag specified."); m_iGridColCount = node.getContentInt(); CC.markNodeParsed("GridColCount"); // Required: GridRowCount node = _cfg.self.getSingleNode("GridRowCount"); - ASTRA_CONFIG_CHECK(node, "ReconstructionGeometry2D", "No GridRowCount tag specified."); + ASTRA_CONFIG_CHECK(node, "VolumeGeometry2D", "No GridRowCount tag specified."); m_iGridRowCount = node.getContentInt(); CC.markNodeParsed("GridRowCount"); diff --git a/src/VolumeGeometry3D.cpp b/src/VolumeGeometry3D.cpp index f1f7cb3..5890f1e 100644 --- a/src/VolumeGeometry3D.cpp +++ b/src/VolumeGeometry3D.cpp @@ -192,19 +192,19 @@ bool CVolumeGeometry3D::initialize(const Config& _cfg) // Required: GridColCount XMLNode node = _cfg.self.getSingleNode("GridColCount"); - ASTRA_CONFIG_CHECK(node, "ReconstructionGeometry2D", "No GridColCount tag specified."); + ASTRA_CONFIG_CHECK(node, "VolumeGeometry3D", "No GridColCount tag specified."); m_iGridColCount = node.getContentInt(); CC.markNodeParsed("GridColCount"); // Required: GridRowCount node = _cfg.self.getSingleNode("GridRowCount"); - ASTRA_CONFIG_CHECK(node, "ReconstructionGeometry2D", "No GridRowCount tag specified."); + ASTRA_CONFIG_CHECK(node, "VolumeGeometry3D", "No GridRowCount tag specified."); m_iGridRowCount = node.getContentInt(); CC.markNodeParsed("GridRowCount"); // Required: GridRowCount node = _cfg.self.getSingleNode("GridSliceCount"); - ASTRA_CONFIG_CHECK(node, "ReconstructionGeometry2D", "No GridSliceCount tag specified."); + ASTRA_CONFIG_CHECK(node, "VolumeGeometry3D", "No GridSliceCount tag specified."); m_iGridSliceCount = node.getContentInt(); CC.markNodeParsed("GridSliceCount"); |