updated rand to latest versions

This commit is contained in:
Jean-Philippe Bossuat
2025-04-24 18:13:57 +02:00
parent 640387d840
commit b33a96e80a
4 changed files with 49 additions and 26 deletions

View File

@@ -5,7 +5,7 @@ use crate::{BACKEND, Module, VecZnx, VecZnxDft, assert_alignement};
use crate::{Infos, alloc_aligned, cast_mut};
use rand::seq::SliceRandom;
use rand_core::RngCore;
use rand_distr::{Distribution, WeightedIndex};
use rand_distr::{Distribution, weighted::WeightedIndex};
use sampling::source::Source;
pub struct Scalar {