Correcting method name in comment (#1350)

Co-authored-by: Detlef <none@none.org>
This commit is contained in:
OldEnglishSheepdog 2023-10-30 10:39:38 +01:00 committed by GitHub
parent 9a02c819cc
commit d0499f0a26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ where
{
/// Set up the PERT distribution with defined `min`, `max` and `mode`.
///
/// 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`.
#[inline]
pub fn new(min: F, max: F, mode: F) -> Result<Pert<F>, PertError> {
Pert::new_with_shape(min, max, mode, F::from(4.).unwrap())