Skip to content

No method into_pyarray for ArrayBase -- Numpy linalg example no longer compiles #165

@Renmusxd

Description

@Renmusxd

The linalg example no longer compiles, giving several error messages. After some cleanup it spits out:

Ok(x.into_pyarray(py).to_owned())
         ^^^^^^^^^^^^ method not found in `ndarray::ArrayBase<ndarray::ViewRepr<&f64>, ndarray::dimension::dim::Dim<[usize; 2]>>`

This has been affecting my project as well with other ArrayBase instances. It seems to be due to ndarray v0.14.0 but has been difficult to track down.

Using rustc 1.50.0-nightly (1c389ffef 2020-11-24)
numpy version 0.11, 0.12.1, and github master

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