Skip to content

Commit

Permalink
Replace tab character with spaces in poisson.rs. (rust-random#1320)
Browse files Browse the repository at this point in the history
  • Loading branch information
WarrenWeckesser authored Jun 20, 2023
1 parent 0c4c6c0 commit b593db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rand_distr/src/poisson.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ where F: Float + FloatConst, Standard: Distribution<F>
/// Construct a new `Poisson` with the given shape parameter
/// `lambda`.
pub fn new(lambda: F) -> Result<Poisson<F>, Error> {
if !lambda.is_finite() {
if !lambda.is_finite() {
return Err(Error::NonFinite);
}
if !(lambda > F::zero()) {
Expand Down

0 comments on commit b593db6

Please sign in to comment.