Skip to content

Commit

Permalink
[bug] correctly return integer based w0 and detid in pattern3d
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Nov 21, 2024
1 parent dcf11c4 commit 744c088
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mcxlab/mcxlab.m
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,8 @@
flags = {cfg(i).savedetflag};
if (isfield(cfg(i), 'issaveref'))
flags{end + 1} = cfg(i).issaveref;
else
flags{end + 1} = 0;
end
if (isfield(cfg(i), 'srcnum'))
flags{end + 1} = cfg(i).srcnum;
Expand Down

0 comments on commit 744c088

Please sign in to comment.