stan
stan copied to clipboard
Improve error messaging at: Error evaluating initial BFGS point.
This error doesn't really give any insight to the user as of what the actual problem with the init value is. Perhaps there is a nan or infinity in the loglikelihood? Maybe there's a problem with computing the gradients? Perhaps it's something else? Ideally it should give the user some insight how to fix the init value.