multinomial sampling should rely on binomial #287
57.93% of diff hit (target 93.73%)
View this Pull Request on Codecov
57.93% of diff hit (target 93.73%)
Annotations
Check warning on line 171 in src/distribution/multinomial.rs
codecov / codecov/patch
src/distribution/multinomial.rs#L171
Added line #L171 was not covered by tests
Check warning on line 214 in src/distribution/multinomial.rs
codecov / codecov/patch
src/distribution/multinomial.rs#L214
Added line #L214 was not covered by tests
Check warning on line 229 in src/distribution/multinomial.rs
codecov / codecov/patch
src/distribution/multinomial.rs#L229
Added line #L229 was not covered by tests
Check warning on line 572 in src/distribution/multinomial.rs
codecov / codecov/patch
src/distribution/multinomial.rs#L572
Added line #L572 was not covered by tests
Check warning on line 595 in src/distribution/multinomial.rs
codecov / codecov/patch
src/distribution/multinomial.rs#L577-L595
Added lines #L577 - L595 were not covered by tests
Check warning on line 615 in src/distribution/multinomial.rs
codecov / codecov/patch
src/distribution/multinomial.rs#L610-L615
Added lines #L610 - L615 were not covered by tests
Check warning on line 618 in src/distribution/multinomial.rs
codecov / codecov/patch
src/distribution/multinomial.rs#L618
Added line #L618 was not covered by tests
Check warning on line 652 in src/distribution/multinomial.rs
codecov / codecov/patch
src/distribution/multinomial.rs#L647-L652
Added lines #L647 - L652 were not covered by tests
Check warning on line 672 in src/distribution/multinomial.rs
codecov / codecov/patch
src/distribution/multinomial.rs#L667-L672
Added lines #L667 - L672 were not covered by tests
Check warning on line 710 in src/distribution/multinomial.rs
codecov / codecov/patch
src/distribution/multinomial.rs#L697-L710
Added lines #L697 - L710 were not covered by tests
Check warning on line 776 in src/distribution/multinomial.rs
codecov / codecov/patch
src/distribution/multinomial.rs#L750-L776
Added lines #L750 - L776 were not covered by tests
Check warning on line 797 in src/distribution/multinomial.rs
codecov / codecov/patch
src/distribution/multinomial.rs#L783-L797
Added lines #L783 - L797 were not covered by tests
Check warning on line 813 in src/distribution/multinomial.rs
codecov / codecov/patch
src/distribution/multinomial.rs#L804-L813
Added lines #L804 - L813 were not covered by tests
Check warning on line 829 in src/distribution/multinomial.rs
codecov / codecov/patch
src/distribution/multinomial.rs#L820-L829
Added lines #L820 - L829 were not covered by tests
Check warning on line 834 in src/distribution/multinomial.rs
codecov / codecov/patch
src/distribution/multinomial.rs#L831-L834
Added lines #L831 - L834 were not covered by tests