Skip to content

Update to 0.17.1 breaks approx-feature #1554

@bgschaid

Description

@bgschaid

When changing from
ndarray = { version = "0.16.1", features = ["approx"] }
to
ndarray = { version = "0.17.1", features = ["approx"] }
unit-tests that previously worked don't compile with

error[E0599]: no method named `abs_diff_eq` found for struct `ArrayBase<S, D>` in the current scope
   --> src/tracedown/types.rs:166:26
    |
166 |         assert!(original.abs_diff_eq(&result, tol));
    |                          ^^^^^^^^^^^ method not found in `ArrayBase<OwnedRepr<f32>, Dim<[usize; 2]>>`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions