Skip to content

Commit

Permalink
Ooops fix let
Browse files Browse the repository at this point in the history
  • Loading branch information
RationalAsh authored and YeungOnion committed May 25, 2024
1 parent 20298f0 commit 358aafb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/distribution/normal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -544,8 +544,8 @@ mod tests {
fn test_default() {
let n = Normal::default();

n_mean = n.mean().unwrap();
n_std = n.std_dev().unwrap();
let n_mean = n.mean().unwrap();
let n_std = n.std_dev().unwrap();

// Check that the mean of the distribution is close to 0
assert_almost_eq!(n_mean, 0.0, 1e-15);
Expand Down

0 comments on commit 358aafb

Please sign in to comment.