Closed u3Izx9ql7vW4 closed 2 weeks ago
I think the problem here is that you have two major versions for nalgebra
involved here. You have a direct dependency on version 0.33
and an indirect dependency on version 0.32
through the nalgebra
feature of numpy
. From Rust's perspective the types from these two versions are different, hence you get the error about the missing function. If you downgrade your direct dependency it should start working again.
That was the issue. Thanks for your help!
I'm trying to return the output of some calculation from nalgebra, but I'm getting the following error:
This is the relevant portion of my code
I've also tried
to_pyarray_bound
. From looking at the docs, there should be a methodSource: https://docs.rs/numpy/latest/numpy/index.html
Here's my cargo.toml