-
Notifications
You must be signed in to change notification settings - Fork 343
Closed
Description
Hi,
I am trying the example code given in docs. I tried zeros example.
let foo = Array::zeros((3, 2, 4).f());
Which gave me an error
error[E0283]: type annotations required: cannot resolve `_: std::clone::Clone`
--> src/main.rs:8:15
|
8 | let foo = Array::zeros((3, 2, 4).f());
| ^^^^^^^^^^^^
|
= note: required by `ndarray::impl_constructors::<impl ndarray::ArrayBase<S, D>>::zeros`
Am I doing it right ?
Metadata
Metadata
Assignees
Labels
No labels