Skip to content

Commit

Permalink
some technical fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wahln committed Oct 28, 2022
1 parent ee58c3d commit 9b5c17a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion matRad_calcParticleDoseMCtopas.m
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
if ~pln.propMC.externalCalculation
dij = pln.propMC.readFiles(pln.propMC.workingDir);
else
dij = [];
dij = struct([]);
end

% Order fields for easier comparison between different dijs
Expand Down
2 changes: 2 additions & 0 deletions topas/MatRad_TopasConfig.m
Original file line number Diff line number Diff line change
Expand Up @@ -1147,6 +1147,8 @@ function writeStfFields(obj,ct,stf,pln,w,baseData)

matRad_cfg = MatRad_Config.instance(); %Instance of matRad configuration class

isPhoton = false;

switch pln.radiationMode
case 'photons'
% if photons
Expand Down

0 comments on commit 9b5c17a

Please sign in to comment.