This project has moved and is read-only. For the latest updates, please go here.

Potential bug: Matlab VtsMonteCarlo.RunPostProcessors method failing for more than one post-processor

Oct 5, 2014 at 11:21 PM
Edited Oct 5, 2014 at 11:22 PM
Ran across this yesterday. The root appears to be line 231, where the call to "RunAll" is in fact only running one post processor (or at least just returning one result).

Replacing the 1-line call to RunAll with a for-loop, all seems to run to completion correctly:
outputsNET = NET.createArray('Vts.MonteCarlo.SimulationOutput', npp);            
for ppi = 1:npp
    ppNET = postProcessors(ppi);
    outputsNET(ppi) = ppNET.Run(); 
...but of course, no parallelization occurs as with RunAll.

Has anyone else run across this before?