Skip to content

Type signature of numpy::innner does not cover all cases #284

Closed
@lmk0724

Description

@lmk0724

when I use numpy::inner(), I face the following problem,
float64' object cannot be converted to 'PyArray<T, D>

here is my code
let array = numpy::pyarray![py, 1.0, 2.0, 3.0]; let inner: &numpy::PyArray0::<_> = numpy::inner(array, array).unwrap(); println!("{}",inner.item());

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions