Skip to content

xt::allclose does not support equalNan #1995

Open

Description

@gsh50

numpy.allclose support a bool argument equal_non that is not supported in xt::allclose. I am using xtensor-0.20.6.

numpy documentation defines equal_nan as:

equal_nan : bool
Whether to compare NaN’s as equal. If True, NaN’s in a will be considered equal to NaN’s in b in the output array.

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

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions