Skip to content

Commit

Permalink
Correcting method name in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Detlef committed Oct 29, 2023
1 parent 9a02c81 commit 1f1b072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rand_distr/src/pert.rs
Original file line number Diff line number Diff line change
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 1f1b072

Please sign in to comment.