Skip to content

Commit

Permalink
chore: fmt on #260
Browse files Browse the repository at this point in the history
  • Loading branch information
YeungOnion committed Aug 12, 2024
1 parent 26f32bc commit 0a2965e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/distribution/fisher_snedecor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,7 @@ impl ContinuousCDF<f64, f64> for FisherSnedecor {
if !(0.0..=1.0).contains(&x) {
panic!("x must be in [0, 1]");

Check warning on line 161 in src/distribution/fisher_snedecor.rs

View check run for this annotation

Codecov / codecov/patch

src/distribution/fisher_snedecor.rs#L159-L161

Added lines #L159 - L161 were not covered by tests
} else {
let z = beta::inv_beta_reg(
self.freedom_1 / 2.0,
self.freedom_2 / 2.0,
x,
);
let z = beta::inv_beta_reg(self.freedom_1 / 2.0, self.freedom_2 / 2.0, x);
self.freedom_2 / (self.freedom_1 * (1.0 / z - 1.0))
}
}

Check warning on line 166 in src/distribution/fisher_snedecor.rs

View check run for this annotation

Codecov / codecov/patch

src/distribution/fisher_snedecor.rs#L163-L166

Added lines #L163 - L166 were not covered by tests
Expand Down

0 comments on commit 0a2965e

Please sign in to comment.