Skip to content

Conversation

ervteng
Copy link
Contributor

@ervteng ervteng commented Jan 17, 2020

A numpy divide by 0 warning would be thrown when there aren't any episodes between summaries. This PR outputs a proper empty StatsSummary when there aren't any episodes.

Note: This doesn't actually fix any bugs, just avoids doing the divide-by-0.

@ervteng ervteng merged commit a591234 into master Jan 18, 2020
@delete-merged-branch delete-merged-branch bot deleted the develop-fix0stats branch January 18, 2020 00:53
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 16, 2021
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.

2 participants