Skip to content

Invalid unit tests: assert_almost_equal #198

@jonlym

Description

@jonlym

Many floating point unit tests use numpy's assert_almost_equal. However, this sometimes incorrectly passes for very small numbers. Instead, we should use assert_allclose instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions