UCL / rmcmc

Robust Markov chain Monte Carlo methods in R
http://github-pages.ucl.ac.uk/rmcmc/
Other
1 stars 0 forks source link

Fix check for presence of `value_and_grad_log_density` in target distribution #16

Closed matt-graham closed 4 months ago

matt-graham commented 4 months ago

Previously presence within list was checked rather than within names of list, leading to always defaulting to trying to access grad_log_density.