From 71db6331f8dd0d5abbeee92977af01293be4f427 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Mon, 28 Nov 2016 15:54:07 +0100 Subject: Update headers (website+2016) --- include/astra/CudaProjector2D.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'include/astra/CudaProjector2D.h') diff --git a/include/astra/CudaProjector2D.h b/include/astra/CudaProjector2D.h index 2b4bacb..d43de33 100644 --- a/include/astra/CudaProjector2D.h +++ b/include/astra/CudaProjector2D.h @@ -1,10 +1,10 @@ /* ----------------------------------------------------------------------- -Copyright: 2010-2015, iMinds-Vision Lab, University of Antwerp - 2014-2015, CWI, Amsterdam +Copyright: 2010-2016, iMinds-Vision Lab, University of Antwerp + 2014-2016, CWI, Amsterdam Contact: astra@uantwerpen.be -Website: http://sf.net/projects/astra-toolbox +Website: http://www.astra-toolbox.com/ This file is part of the ASTRA Toolbox. @@ -23,7 +23,6 @@ You should have received a copy of the GNU General Public License along with the ASTRA Toolbox. If not, see . ----------------------------------------------------------------------- -$Id$ */ #ifndef _INC_ASTRA_CUDAPROJECTOR2D -- cgit v1.2.3 From 1714312d072179b74306c927b25bd01b5056bdf1 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Mon, 22 May 2017 13:15:58 +0200 Subject: Fix build without CUDA --- include/astra/CudaProjector2D.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/astra/CudaProjector2D.h') diff --git a/include/astra/CudaProjector2D.h b/include/astra/CudaProjector2D.h index d43de33..d95aa53 100644 --- a/include/astra/CudaProjector2D.h +++ b/include/astra/CudaProjector2D.h @@ -28,6 +28,8 @@ along with the ASTRA Toolbox. If not, see . #ifndef _INC_ASTRA_CUDAPROJECTOR2D #define _INC_ASTRA_CUDAPROJECTOR2D +#ifdef ASTRA_CUDA + #include "ParallelProjectionGeometry2D.h" #include "Float32Data2D.h" #include "Projector2D.h" @@ -142,5 +144,7 @@ inline std::string CCudaProjector2D::getType() } // namespace astra +#endif + #endif -- cgit v1.2.3