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

Mean of empty list raises ZeroDivisonError #8

Open
HenrikMettler opened this issue Nov 10, 2022 · 0 comments
Open

Mean of empty list raises ZeroDivisonError #8

HenrikMettler opened this issue Nov 10, 2022 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@HenrikMettler
Copy link

Calculating the mean of an empty list raises a ZeroDivisionError
Code for reproduction:

l = []
mean(l)

This should be fixed.

@jakobj jakobj added this to the 0.1.0 milestone Nov 10, 2022
@jakobj jakobj added the bug Something isn't working label Nov 10, 2022
@jakobj jakobj changed the title Mean of empty list raises ZeroDivisonError Mean of empty list raises ZeroDivisonError Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants