Skip to content

Elevate the warning message to an error and do the same for emcee

Gregory Ashton requested to merge raise-error-when-no-samples-produced into master

If for any reason nburn < nsteps (sometimes nburn is calculated after the fact so one can't know beforehand if this is the case), this will raise a SamplerError. Previous behaviour was to raise a warning, but this just leads to confusing behaviour when the code then attemps to plot without any samples.

Merge request reports

Loading