Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Resolve runtime warning: divide by zero encountered in divideΒ #5534

Description

@ESadek-MO

πŸ“° Custom Issue

Written up from #5465.

lib/iris/tests/unit/analysis/maths/test_divide.py::TestMasking::test_unmasked_div_zero
  /net/home/h05/achamber/git/iris/lib/iris/tests/unit/analysis/maths/test_divide.py:54: RuntimeWarning: divide by zero encountered in divide
    com = self.data_op(dat_b, dat_a)

lib/iris/tests/unit/analysis/maths/test_divide.py::TestMasking::test_unmasked_div_zero
  /net/home/h05/achamber/git/iris/lib/iris/analysis/maths.py:918: RuntimeWarning: divide by zero encountered in divide
    data = operation_function(lhs, rhs)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions