Skip to content

Commit

Permalink
fmt + clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-lieser committed Oct 3, 2024
1 parent ea38d14 commit 17f3565
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions rand_distr/tests/cdf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,9 @@ fn binomial_cdf(k: i64, p: f64, n: u64) -> f64 {
let q = 1.0 - p;

let ln_beta_ab = a.ln_beta(b);

let reg_incomplete_beta = q.inc_beta(a, b, ln_beta_ab);

return reg_incomplete_beta;
}
q.inc_beta(a, b, ln_beta_ab)
}

#[test]
fn binomial() {
Expand Down

0 comments on commit 17f3565

Please sign in to comment.