Skip to content

Commit

Permalink
Octave compatability fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wahln committed Jul 29, 2022
1 parent 45d414f commit 95ab43a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matRad_calcParticleDose.m
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@
% vectorize computations more efficiently than when
% making this an outer loop
for ctScen = 1:pln.multScen.numOfCtScen
if any(pln.multScen.scenMask(ctScen,:,:),'all') %We don't need it if no scenario for this ct scenario is relevant
if any(any(pln.multScen.scenMask(ctScen,:,:))) %We don't need it if no scenario for this ct scenario is relevant
% precomputations for fine-sampling
if strcmp(pbCalcMode, 'fineSampling')
% compute radial distances relative to pencil beam
Expand Down

0 comments on commit 95ab43a

Please sign in to comment.