-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
I'm running into some issues when depending on the rand crate version 0.9, and when using this version to generate random BInt objects.
For example,
let c: BInt<4> = rng.random();
gives the error
error[E0277]: the trait bound `StandardUniform: Distribution<BInt<4>>` is not satisfied
--> src/zomega.rs:333:30
|
333 | let c: BInt<4> = rng.random();
| ^^^^^^ the trait `Distribution<BInt<4>>` is not implemented for `StandardUniform
I also get a bunch of warning about conflicting rand crates in my dependency tree when loading traits from bnum.
I figure the easiest solution is to upgrade rand to 0.9, but I understand if that would require some rewriting to use the newer API.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels