summaryrefslogtreecommitdiffstats
path: root/src/CudaDartMaskAlgorithm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/CudaDartMaskAlgorithm.cpp')
-rw-r--r--src/CudaDartMaskAlgorithm.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CudaDartMaskAlgorithm.cpp b/src/CudaDartMaskAlgorithm.cpp
index bd9f59f..f6760bc 100644
--- a/src/CudaDartMaskAlgorithm.cpp
+++ b/src/CudaDartMaskAlgorithm.cpp
@@ -143,7 +143,8 @@ void CCudaDartMaskAlgorithm::run(int _iNrIterations)
bool CCudaDartMaskAlgorithm::_check()
{
- // connectivity: 4 of 8
+ // connectivity: 4 or 8
+ ASTRA_CONFIG_CHECK(m_iConn == 4 || m_iConn == 8, "CudaDartMask", "Connectivity must be 4 or 8");
// gpuindex >= 0