summaryrefslogtreecommitdiffstats
path: root/matlab/tools
diff options
context:
space:
mode:
authorDaniel M. Pelt <D.M.Pelt@cwi.nl>2015-06-20 00:35:16 +0200
committerDaniel M. Pelt <D.M.Pelt@cwi.nl>2015-06-20 00:35:16 +0200
commitf6b6a2f84806a89fe6bacc583e13cb14629fb5dc (patch)
tree64c772eded4a2fc8c7b8c42a1b354e3eb690a43f /matlab/tools
parentba3629c6c1bc1d03ccdc6ef2aeae6872ea59559f (diff)
downloadastra-f6b6a2f84806a89fe6bacc583e13cb14629fb5dc.tar.gz
astra-f6b6a2f84806a89fe6bacc583e13cb14629fb5dc.tar.bz2
astra-f6b6a2f84806a89fe6bacc583e13cb14629fb5dc.tar.xz
astra-f6b6a2f84806a89fe6bacc583e13cb14629fb5dc.zip
Actually use the rec_type argument in astra_create_reconstruction_cuda
Diffstat (limited to 'matlab/tools')
-rw-r--r--matlab/tools/astra_create_reconstruction_cuda.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/matlab/tools/astra_create_reconstruction_cuda.m b/matlab/tools/astra_create_reconstruction_cuda.m
index 7d9e1dd..7d0421c 100644
--- a/matlab/tools/astra_create_reconstruction_cuda.m
+++ b/matlab/tools/astra_create_reconstruction_cuda.m
@@ -45,7 +45,7 @@ if strcmp(rec_type,'')
end
% configure
-cfg = astra_struct('SIRT_CUDA');
+cfg = astra_struct(rec_type);
cfg.ProjectionGeometry = proj_geom;
cfg.ReconstructionGeometry = vol_geom;
cfg.ProjectionDataId = sinogram_id;