We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a02c81 commit d0499f0Copy full SHA for d0499f0
rand_distr/src/pert.rs
@@ -78,7 +78,7 @@ where
78
{
79
/// Set up the PERT distribution with defined `min`, `max` and `mode`.
80
///
81
- /// This is equivalent to calling `Pert::new_shape` with `shape == 4.0`.
+ /// This is equivalent to calling `Pert::new_with_shape` with `shape == 4.0`.
82
#[inline]
83
pub fn new(min: F, max: F, mode: F) -> Result<Pert<F>, PertError> {
84
Pert::new_with_shape(min, max, mode, F::from(4.).unwrap())
0 commit comments