From 22bf12abe480f960f03237b0fac1a915fba6071f Mon Sep 17 00:00:00 2001 From: Qianqian Fang Date: Wed, 11 Dec 2024 11:52:17 -0500 Subject: [PATCH] [bug] fix mcxlab castlist --- mcxlab/mcxlab.m | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mcxlab/mcxlab.m b/mcxlab/mcxlab.m index 42e7d1b7..826579df 100644 --- a/mcxlab/mcxlab.m +++ b/mcxlab/mcxlab.m @@ -449,11 +449,11 @@ if (isstruct(varargin{1})) for i = 1:length(varargin{1}) - castlist = {'srcpattern', 'srcpos', 'detpos', 'prop', 'workload', 'srcdir', 'srciquv', 'isnormalized' - 'isreflect', 'nphoton', 'nblocksize', 'nthread', 'tstart', 'tend', 'maxdetphoton', 'maxgate' - 'respin', 'isref3', 'isrefint', 'isgpuinfo', 'issrcfrom0', 'autopilot', 'minenergy', 'unitinmm' - 'voidtime', 'issavedet', 'issaveseed', 'issaveref', 'issaveexit', 'ismomentum', 'isspecular' - 'replaydet', 'maxvoidstep', 'maxjumpdebug', 'gscatter', 'srcnum', 'srcid', 'omega', 'issave2pt' + castlist = {'srcpattern', 'srcpos', 'detpos', 'prop', 'workload', 'srcdir', 'srciquv', 'isnormalized', ... + 'isreflect', 'nphoton', 'nblocksize', 'nthread', 'tstart', 'tend', 'maxdetphoton', 'maxgate', ... + 'respin', 'isref3', 'isrefint', 'isgpuinfo', 'issrcfrom0', 'autopilot', 'minenergy', 'unitinmm', ... + 'voidtime', 'issavedet', 'issaveseed', 'issaveref', 'issaveexit', 'ismomentum', 'isspecular', ... + 'replaydet', 'maxvoidstep', 'maxjumpdebug', 'gscatter', 'srcnum', 'srcid', 'omega', 'issave2pt', ... 'lamda', 'steps', 'crop0', 'crop1'}; for j = 1:length(castlist) if (isfield(varargin{1}(i), castlist{j}))