alan-turing-institute / PDSampler.jl

Piecewise Deterministic Sampler library (Bouncy particle sampler, Zig Zag sampler, ...)
Other
33 stars 8 forks source link

Fix evaluation of gradient in Global/Local BPS #20

Closed tlienart closed 7 years ago

tlienart commented 7 years ago

needs to be reevaluated along the ray instead of sticking to the gradient at the origin of the ray.

tlienart commented 7 years ago

Actually the code was correct, what was incorrect was the bouncing counter, no being fixed