bangerth / SampleFlow

SampleFlow -- a library for composing complex statistical sampling algorithms
GNU Lesser General Public License v2.1
4 stars 5 forks source link

Fix differential evolution acceptance probability #192

Open bangerth opened 2 years ago

bangerth commented 2 years ago

The MH sampler goes to length with corner cases where the likelihood is -inf or some such. The DE sampler does not. Copy that code over.