ptemcee
ptemcee copied to clipboard
Integer division results in no adaptation
When decay and kappa are calculated in _get_ladder_adjustment
in (lines 180 and 181 in ensemble.py
), a division with integers is performed. Since decay
is always less than 1, this results in decay and kappa always being zero if you're not using python 3. The result is the betas are never changed.
This fixes that by importing division from future in ensemble.py
.