bayesfast
bayesfast copied to clipboard
set logp=-inf if the evaluation fails
Sometimes the target density is not defined in some regions of the parameter space. Maybe we should let BF automatically return logp=-inf for such cases?
This is related to the issue that sometimes it gets logq sample at which logp is not defined. The DES example is not working after I upgrade to python 3.8 because of this.