Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with calculation of entropy #172

Merged
merged 1 commit into from
Apr 5, 2023

Conversation

timcallow
Copy link
Contributor

The previous threshold (1e-5) to ensure log(0) was not taken in the entropy function turned out to be way too high for hot, low-density systems. Now we reduce it to 1e-20, which is still fine for the log function

@timcallow timcallow merged commit b33e7a9 into atomec-project:develop Apr 5, 2023
@timcallow timcallow deleted the fix_entropy branch April 5, 2023 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant