Skip to content
Permalink
Browse files
Correct javadoc for the bounds on the Poisson sampler mean
  • Loading branch information
aherbert committed Oct 6, 2021
1 parent c7b9013 commit 3d5309f94c07d6701bc1c0df975ce01a67586d46
Showing 1 changed file with 3 additions and 3 deletions.
@@ -68,8 +68,8 @@
*
* @param rng Generator of uniformly distributed random numbers.
* @param mean Mean.
* @throws IllegalArgumentException if {@code mean <= 0} or
* {@code mean >} {@link Integer#MAX_VALUE}.
* @throws IllegalArgumentException if {@code mean <= 0} or {@code mean > 0.5 *}
* {@link Integer#MAX_VALUE}.
*/
public PoissonSampler(UniformRandomProvider rng,
double mean) {
@@ -108,7 +108,7 @@ public SharedStateDiscreteSampler withUniformRandomProvider(UniformRandomProvide
* @param rng Generator of uniformly distributed random numbers.
* @param mean Mean.
* @return the sampler
* @throws IllegalArgumentException if {@code mean <= 0} or {@code mean >}
* @throws IllegalArgumentException if {@code mean <= 0} or {@code mean > 0.5 *}
* {@link Integer#MAX_VALUE}.
* @since 1.3
*/

0 comments on commit 3d5309f

Please sign in to comment.