alashworth / test-issue-import

0 stars 0 forks source link

Move writer callbacks into ps_point #121

Open alashworth opened 5 years ago

alashworth commented 5 years ago

Issue by betanalpha Thursday Dec 22, 2016 at 05:24 GMT Originally opened as https://github.com/stan-dev/stan/issues/2184


Summary:

Move writer callbacks used in the HMC code into the active ps_point object.

Description:

Write now info and error writer callbacks are threaded through much of the HMC code in order to catch potential autodiff errors, making my functions awkward to call. The code would be drastically simplified by making the callbacks members of the base ps_point class that is already passed into each of these functions.

Current Version:

v2.13.1