summaryrefslogtreecommitdiffstats
path: root/matlab
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-09-22 17:26:09 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-09-22 17:28:16 +0200
commitdd24cce853ff3b28035b8723ab271cafb4272917 (patch)
tree7e557b39ab43998e2d3d67abbefa210e00ad41d1 /matlab
parent00a1c6118b2d64b867c8e640c295462bcccfc7c9 (diff)
downloadastra-dd24cce853ff3b28035b8723ab271cafb4272917.tar.gz
astra-dd24cce853ff3b28035b8723ab271cafb4272917.tar.bz2
astra-dd24cce853ff3b28035b8723ab271cafb4272917.tar.xz
astra-dd24cce853ff3b28035b8723ab271cafb4272917.zip
Remove duplicate creation of projector in opTomo
Thanks to @NathanielSix for the report.
Diffstat (limited to 'matlab')
-rw-r--r--matlab/tools/opTomo.m2
1 files changed, 0 insertions, 2 deletions
diff --git a/matlab/tools/opTomo.m b/matlab/tools/opTomo.m
index 81de534..aed2f29 100644
--- a/matlab/tools/opTomo.m
+++ b/matlab/tools/opTomo.m
@@ -92,11 +92,9 @@ classdef opTomo < opSpot
if gpuEnabled
fp_alg = 'FP_CUDA';
bp_alg = 'BP_CUDA';
- proj_id = [];
else
fp_alg = 'FP';
bp_alg = 'BP';
- proj_id = astra_create_projector(type, proj_geom, vol_geom);
end
% configuration for ASTRA fp algorithm