diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-10-09 16:19:54 +0200 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-10-09 16:19:54 +0200 |
commit | fb44faa449990400861f1869b52f5afc8fefe01b (patch) | |
tree | a4fa4fe05221f235eeb40c2b33cb680819629be0 /src | |
parent | 33668f347d7fdcd700fc5e4e34153cbba7889c01 (diff) | |
download | astra-fb44faa449990400861f1869b52f5afc8fefe01b.tar.gz astra-fb44faa449990400861f1869b52f5afc8fefe01b.tar.bz2 astra-fb44faa449990400861f1869b52f5afc8fefe01b.tar.xz astra-fb44faa449990400861f1869b52f5afc8fefe01b.zip |
Fix warning text
Diffstat (limited to 'src')
-rw-r--r-- | src/CudaReconstructionAlgorithm2D.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CudaReconstructionAlgorithm2D.cpp b/src/CudaReconstructionAlgorithm2D.cpp index bccdb43..2d023b7 100644 --- a/src/CudaReconstructionAlgorithm2D.cpp +++ b/src/CudaReconstructionAlgorithm2D.cpp @@ -163,9 +163,9 @@ bool CCudaReconstructionAlgorithm2D::_check() if (!CReconstructionAlgorithm2D::_check()) return false; - ASTRA_CONFIG_CHECK(m_iDetectorSuperSampling >= 1, "SIRT_CUDA", "DetectorSuperSampling must be a positive integer."); - ASTRA_CONFIG_CHECK(m_iPixelSuperSampling >= 1, "SIRT_CUDA", "PixelSuperSampling must be a positive integer."); - ASTRA_CONFIG_CHECK(m_iGPUIndex >= -1, "SIRT_CUDA", "GPUIndex must be a non-negative integer."); + ASTRA_CONFIG_CHECK(m_iDetectorSuperSampling >= 1, "CudaReconstructionAlgorithm2D", "DetectorSuperSampling must be a positive integer."); + ASTRA_CONFIG_CHECK(m_iPixelSuperSampling >= 1, "CudaReconstructionAlgorithm2D", "PixelSuperSampling must be a positive integer."); + ASTRA_CONFIG_CHECK(m_iGPUIndex >= -1, "CudaReconstructionAlgorithm2D", "GPUIndex must be a non-negative integer or -1."); // check restrictions // TODO: check restrictions built into cuda code |