summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-01-12 13:51:00 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-01-12 13:51:00 +0100
commitf2789774ca5c5540c625ad930c06f712c6e0122b (patch)
treef86e2210cf5448587cd749b3b7a8cfd79541d51d /src
parent67ad5142d08fa7708f2f7fc7db5e011e4e54e1d4 (diff)
downloadastra-f2789774ca5c5540c625ad930c06f712c6e0122b.tar.gz
astra-f2789774ca5c5540c625ad930c06f712c6e0122b.tar.bz2
astra-f2789774ca5c5540c625ad930c06f712c6e0122b.tar.xz
astra-f2789774ca5c5540c625ad930c06f712c6e0122b.zip
Fix VolumeGeometry class name in error messages
Diffstat (limited to 'src')
-rw-r--r--src/VolumeGeometry2D.cpp4
-rw-r--r--src/VolumeGeometry3D.cpp6
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");