Skip to content

Commit

Permalink
bug that triggers "number of beam mismatch" warning
Browse files Browse the repository at this point in the history
  • Loading branch information
amitantony committed Jan 25, 2024
1 parent 6d28feb commit b401aa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matRad_comparePlnStf.m
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
msg = [];

%% compare number of gantry angles
if numel(pln.propStf.numOfBeams) ~= numel(stf) ...
if pln.propStf.numOfBeams ~= numel(stf)
msg= 'Number of beams do not match';
allMatch=false;
return
Expand Down

0 comments on commit b401aa0

Please sign in to comment.