We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f89330 commit 228f95bCopy full SHA for 228f95b
matRad/matRad_fluenceOptimization.m
@@ -297,6 +297,10 @@
297
matRad_cfg.dispInfo('chosen uniform weight of %f!\n',bixelWeight);
298
end
299
300
+if any(~isfinite(wInit))
301
+ matRad_cfg.dispWarning('Invalid number in fluence weight initialization. Something might be off with your geometry. Setting invalid values to 1.');
302
+ wInit(~isfinite(wInit)) = 1;
303
+end
304
305
%% calculate probabilistic quantities for probabilistic optimization if at least
306
% one robust objective is defined
0 commit comments