university-of-newcastle-research / pmwg

Repository for code for the Samplers Team at UoN
4 stars 3 forks source link

Improve error reporting and debug options #72

Closed gjcooper closed 11 months ago

gjcooper commented 11 months ago

When an error occurs in the sampling of particles, not much information is given to the end-user on what has caused the problem, and in the middle of a sampling run the error may be extremely difficult to reproduce.

If an error is detected, save the state of the sampler, and any particles at that point. Add additional context to the default R error messages as well.

gjcooper commented 11 months ago

Closed by ed383b970 and 7fe098856