summaryrefslogtreecommitdiffstats
path: root/include/astra/CudaBackProjectionAlgorithm3D.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/astra/CudaBackProjectionAlgorithm3D.h')
-rw-r--r--include/astra/CudaBackProjectionAlgorithm3D.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/astra/CudaBackProjectionAlgorithm3D.h b/include/astra/CudaBackProjectionAlgorithm3D.h
index b069da6..a9cc559 100644
--- a/include/astra/CudaBackProjectionAlgorithm3D.h
+++ b/include/astra/CudaBackProjectionAlgorithm3D.h
@@ -133,7 +133,7 @@ public:
*
* @param _iGPUIndex New GPU index.
*/
- void setGPUIndex(int _iGPUIndex);
+ void setGPUIndex(int _iGPUIndex) { m_iGPUIndex = _iGPUIndex; }
protected: