Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support sampling integers from discrete distributions #155

Merged
merged 2 commits into from
Sep 22, 2024

fix: MSRV

3deb714
Select commit
Loading
Failed to load commit list.
Merged

Support sampling integers from discrete distributions #155

fix: MSRV
3deb714
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Sep 22, 2024 in 1s

0.00% of diff hit (target 94.03%)

View this Pull Request on Codecov

0.00% of diff hit (target 94.03%)

Annotations

Check warning on line 92 in src/distribution/bernoulli.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/bernoulli.rs#L90-L92

Added lines #L90 - L92 were not covered by tests

Check warning on line 99 in src/distribution/bernoulli.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/bernoulli.rs#L99

Added line #L99 was not covered by tests

Check warning on line 116 in src/distribution/binomial.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/binomial.rs#L115-L116

Added lines #L115 - L116 were not covered by tests

Check warning on line 119 in src/distribution/binomial.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/binomial.rs#L119

Added line #L119 was not covered by tests

Check warning on line 132 in src/distribution/binomial.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/binomial.rs#L130-L132

Added lines #L130 - L132 were not covered by tests

Check warning on line 131 in src/distribution/categorical.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/categorical.rs#L129-L131

Added lines #L129 - L131 were not covered by tests

Check warning on line 139 in src/distribution/categorical.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/categorical.rs#L137-L139

Added lines #L137 - L139 were not covered by tests

Check warning on line 146 in src/distribution/categorical.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/categorical.rs#L146

Added line #L146 was not covered by tests

Check warning on line 344 in src/distribution/categorical.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/categorical.rs#L344

Added line #L344 was not covered by tests

Check warning on line 346 in src/distribution/categorical.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/categorical.rs#L346

Added line #L346 was not covered by tests

Check warning on line 82 in src/distribution/discrete_uniform.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/discrete_uniform.rs#L80-L82

Added lines #L80 - L82 were not covered by tests

Check warning on line 89 in src/distribution/discrete_uniform.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/discrete_uniform.rs#L89

Added line #L89 was not covered by tests

Check warning on line 96 in src/distribution/geometric.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/geometric.rs#L96

Added line #L96 was not covered by tests

Check warning on line 98 in src/distribution/geometric.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/geometric.rs#L98

Added line #L98 was not covered by tests

Check warning on line 104 in src/distribution/geometric.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/geometric.rs#L100-L104

Added lines #L100 - L104 were not covered by tests

Check warning on line 114 in src/distribution/geometric.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/geometric.rs#L112-L114

Added lines #L112 - L114 were not covered by tests

Check warning on line 151 in src/distribution/hypergeometric.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/hypergeometric.rs#L151

Added line #L151 was not covered by tests

Check warning on line 155 in src/distribution/hypergeometric.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/hypergeometric.rs#L155

Added line #L155 was not covered by tests

Check warning on line 160 in src/distribution/hypergeometric.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/hypergeometric.rs#L160

Added line #L160 was not covered by tests

Check warning on line 178 in src/distribution/hypergeometric.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/hypergeometric.rs#L176-L178

Added lines #L176 - L178 were not covered by tests

Check warning on line 172 in src/distribution/multinomial.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/multinomial.rs#L170-L172

Added lines #L170 - L172 were not covered by tests

Check warning on line 184 in src/distribution/multinomial.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/multinomial.rs#L183-L184

Added lines #L183 - L184 were not covered by tests

Check warning on line 195 in src/distribution/multinomial.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/multinomial.rs#L188-L195

Added lines #L188 - L195 were not covered by tests

Check warning on line 202 in src/distribution/multinomial.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/multinomial.rs#L198-L202

Added lines #L198 - L202 were not covered by tests

Check warning on line 204 in src/distribution/multinomial.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/distribution/multinomial.rs#L204

Added line #L204 was not covered by tests