summaryrefslogtreecommitdiffstats
path: root/matlab/tools
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <wjp@usecode.org>2015-06-23 11:01:36 +0200
committerWillem Jan Palenstijn <wjp@usecode.org>2015-06-23 11:01:36 +0200
commit0f4a28769bd577d18ff0c54e550d03a4f256939f (patch)
treebbf4e9e71e55bd38ba69b9e7f57b4b92788bed78 /matlab/tools
parent26198f7e1fbed9d294fc2856f796f408c85b66f3 (diff)
parenta9ea08c4a11592378b320cac45be8eede8addd6f (diff)
downloadastra-0f4a28769bd577d18ff0c54e550d03a4f256939f.tar.gz
astra-0f4a28769bd577d18ff0c54e550d03a4f256939f.tar.bz2
astra-0f4a28769bd577d18ff0c54e550d03a4f256939f.tar.xz
astra-0f4a28769bd577d18ff0c54e550d03a4f256939f.zip
Merge pull request #74 from dmpelt/small-fixes
Small fixes
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;