Skip to content

Commit d0499f0

Browse files
OldEnglishSheepdogDetlef
andauthored
Correcting method name in comment (#1350)
Co-authored-by: Detlef <[email protected]>
1 parent 9a02c81 commit d0499f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rand_distr/src/pert.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ where
7878
{
7979
/// Set up the PERT distribution with defined `min`, `max` and `mode`.
8080
///
81-
/// This is equivalent to calling `Pert::new_shape` with `shape == 4.0`.
81+
/// This is equivalent to calling `Pert::new_with_shape` with `shape == 4.0`.
8282
#[inline]
8383
pub fn new(min: F, max: F, mode: F) -> Result<Pert<F>, PertError> {
8484
Pert::new_with_shape(min, max, mode, F::from(4.).unwrap())

0 commit comments

Comments
 (0)