refactor: update random number generation to use rand::make_rng() and upgrade rand to version 0.10

This commit is contained in:
Manuel Raimann
2026-02-10 09:30:39 +01:00
parent d7ad3f60db
commit 0e8fc82201
6 changed files with 12 additions and 18 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
//! parameter independently, the multivariate KDE models the joint distribution
//! to better capture correlations between parameters.
use rand::Rng;
use rand::{Rng, RngExt};
use crate::error::{Error, Result};
+1 -1
View File
@@ -3,7 +3,7 @@
//! This module provides a Gaussian kernel density estimator used by the TPE
//! sampler to model probability distributions over good and bad trial regions.
use rand::Rng;
use rand::{Rng, RngExt};
use crate::error::{Error, Result};