-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ndarray_rand: random_using() compilation error #875
Comments
I think I've met the same problem. I have to stick to |
I think the issue is incompatible versions, as @relf indicated. For Hopefully, the error message for this type of thing will be improved in the future. (See rust-lang/rust#22750.) In the meantime, it would be worth adding a note about the correct version of |
Ah, gotcha. I was hoping to keep using At least on my system, using |
Hello,
I've been working on creating a reproducible random array for testing variations on a neural network architecture, and came across a bit of an issue with trying to instantiate an Array using the Isaac64 RNG, which seems like it should be supported by the crate. Per the docs, I tried building the listed example in a stand-alone project, with the following in
main.rs
and this in my
Cargo.toml
file.However, each time I receive
I've tested this behavior using both
rustc 1.48.0 (7eac88abb 2020-11-16)
andrustc 1.51.0-nightly (0b644e419 2020-12-26)
. I didn't see a test inndarray/ndarray-rand/tests/test.rs
that covers therandom_using()
function, which means this error may have been missed by CI, although it's certainly possible that I may have missed something.I'd be happy to test any corrections, and I have find the time, I may be able to dig into this an submit a PR fixing, although I have a few other things on my plate before I can get there. Thanks, and hope your holidays have been well!
The text was updated successfully, but these errors were encountered: