Fetch the last gradient created by running an likelihood. This
errors if the last call to dust_likelihood_run did not use
adjoint = TRUE
. The first time you call this (after a
particular set of parameters) it will trigger running the reverse
model.
Arguments
- obj
A
dust_filter
object, created by dust_filter_create or adust_unfilter
object created by dust_unfilter_create