gibbs_step_err: Error handler for the gibbs_step call
Description
If an error was detected when generating new values in Gibbs step this
function is called to generate the error message and save the state of the
samples at that moment to help with debugging.
Usage
gibbs_step_err(pmwgs, err_cond)
Arguments
- pmwgs
The pmwgs object for the current run.
- err_cond
The original error condition that prompted this.