Skip to content

Divide by zero error handling in map.py #486

Open
@ts4051

Description

@ts4051

In map.py functions such as compare, there are cases where one map is divided by another. If the denominator map has any bins with 0 entries, this fails with a divide by zero error.

This is handled for the case of numpy arrays, but when the bins have uncertainties the error appears due to lack of robust support for divide by zero in the uncertainties module.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions