diff options
author | Daniel M. Pelt <D.M.Pelt@cwi.nl> | 2015-03-13 12:18:21 +0100 |
---|---|---|
committer | Daniel M. Pelt <D.M.Pelt@cwi.nl> | 2015-03-13 12:18:21 +0100 |
commit | c5507b6ef2abfab169150528a374526bb348bf62 (patch) | |
tree | 2e218781b8c90209f7ac53219cc59d3319fe3a73 /src/CudaForwardProjectionAlgorithm.cpp | |
parent | 150951875c236f95a64fd132c26576bd19daca80 (diff) | |
download | astra-c5507b6ef2abfab169150528a374526bb348bf62.tar.gz astra-c5507b6ef2abfab169150528a374526bb348bf62.tar.bz2 astra-c5507b6ef2abfab169150528a374526bb348bf62.tar.xz astra-c5507b6ef2abfab169150528a374526bb348bf62.zip |
Adds ASTRA_*** defines for easier logging, and changes internal calls to these defines
Diffstat (limited to 'src/CudaForwardProjectionAlgorithm.cpp')
-rw-r--r-- | src/CudaForwardProjectionAlgorithm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CudaForwardProjectionAlgorithm.cpp b/src/CudaForwardProjectionAlgorithm.cpp index 1ae6b83..19cadd6 100644 --- a/src/CudaForwardProjectionAlgorithm.cpp +++ b/src/CudaForwardProjectionAlgorithm.cpp @@ -106,7 +106,7 @@ bool CCudaForwardProjectionAlgorithm::initialize(const Config& _cfg) id = boost::lexical_cast<int>(node->getContent()); CProjector2D *projector = CProjector2DManager::getSingleton().get(id); if (!dynamic_cast<CCudaProjector2D*>(projector)) { - astra::CLogger::warn(__FILE__,__LINE__,"Warning: non-CUDA Projector2D passed to FP_CUDA"); + ASTRA_WARN("Warning: non-CUDA Projector2D passed to FP_CUDA"); } delete node; } |