We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c4c6c0 commit b593db6Copy full SHA for b593db6
rand_distr/src/poisson.rs
@@ -69,7 +69,7 @@ where F: Float + FloatConst, Standard: Distribution<F>
69
/// Construct a new `Poisson` with the given shape parameter
70
/// `lambda`.
71
pub fn new(lambda: F) -> Result<Poisson<F>, Error> {
72
- if !lambda.is_finite() {
+ if !lambda.is_finite() {
73
return Err(Error::NonFinite);
74
}
75
if !(lambda > F::zero()) {
0 commit comments