You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's a bit unfortunate that one needs to pass &ArrayView in many places where just passing a view by value should be enough. It's partly due to missing support for custom view types in Rust. Feel free to report any issues you find with ndarray.
Activity
bluss commentedon Nov 15, 2016
xinx + &x0is an array view, which is an "A", not an "&A". So&x + &x0should work.termoshtt commentedon Nov 15, 2016
Oh...
I now understand my mistake and what document says.
The above error message means
ArrayViewcannot be consumed. It is hard to read :<Thanks for your help!
bluss commentedon Nov 15, 2016
It's a bit unfortunate that one needs to pass
&ArrayViewin many places where just passing a view by value should be enough. It's partly due to missing support for custom view types in Rust. Feel free to report any issues you find with ndarray.