Skip to content

Commit

Permalink
Merge pull request #642 from JenHardt/dev_varRBErobOpt
Browse files Browse the repository at this point in the history
IsoCenterShift BugFix
  • Loading branch information
wahln authored Jul 10, 2023
2 parents d5bf94a + f2e62b6 commit a83b691
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions matRad_calcParticleDoseMCtopas.m
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,11 @@

% revert back to original directory
cd(currDir);

% manipulate isocenter back
for k = 1:length(stf)
stf(k).isoCenter = stf(k).isoCenter - pln.multScen.isoShift(ixShiftScen,:);
end

end

Expand All @@ -234,8 +239,4 @@
dij = struct([]);
end

% manipulate isocenter back
for k = 1:length(stf)
stf(k).isoCenter = stf(k).isoCenter - pln.multScen.isoShift(ixShiftScen,:);
end
end

0 comments on commit a83b691

Please sign in to comment.