From dd24cce853ff3b28035b8723ab271cafb4272917 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Fri, 22 Sep 2017 17:26:09 +0200 Subject: Remove duplicate creation of projector in opTomo Thanks to @NathanielSix for the report. --- matlab/tools/opTomo.m | 2 -- 1 file changed, 2 deletions(-) (limited to 'matlab') 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 -- cgit v1.2.3