Skip to content
This repository was archived by the owner on Apr 11, 2023. It is now read-only.

Conversation

@cdcapano
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant