Skip to content

Mean of empty list raises ZeroDivisonError #8

@HenrikMettler

Description

@HenrikMettler

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

l = []
mean(l)

This should be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions