Skip to content

Commit

Permalink
Correcting method name in comment (#1350)
Browse files Browse the repository at this point in the history
Co-authored-by: Detlef <none@none.org>
  • Loading branch information
OldEnglishSheepdog and Detlef committed Oct 30, 2023
1 parent 9a02c81 commit d0499f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rand_distr/src/pert.rs
Expand Up @@ -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())
Expand Down

0 comments on commit d0499f0

Please sign in to comment.