fix: prevent zero-probability events from being sampled in multinomial function in Jax-backend #177
0.00% of diff hit (target 88.71%)
View this Pull Request on Codecov
0.00% of diff hit (target 88.71%)
Annotations
Check warning on line 517 in mithril/backends/with_autograd/jax_backend/backend.py
codecov / codecov/patch
mithril/backends/with_autograd/jax_backend/backend.py#L516-L517
Added lines #L516 - L517 were not covered by tests
Check warning on line 520 in mithril/backends/with_autograd/jax_backend/backend.py
codecov / codecov/patch
mithril/backends/with_autograd/jax_backend/backend.py#L520
Added line #L520 was not covered by tests
Check warning on line 535 in mithril/backends/with_autograd/jax_backend/backend.py
codecov / codecov/patch
mithril/backends/with_autograd/jax_backend/backend.py#L535
Added line #L535 was not covered by tests
Check warning on line 539 in mithril/backends/with_autograd/jax_backend/backend.py
codecov / codecov/patch
mithril/backends/with_autograd/jax_backend/backend.py#L539
Added line #L539 was not covered by tests