Skip to content

Commit

Permalink
Merge branch 'master' into docs/v0.6.3-release-notes
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert authored Sep 3, 2021
2 parents d659fba + 4ed0148 commit bdd35eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyhf/tensor/jax_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ def poisson(self, n, lam):
>>> import pyhf
>>> pyhf.set_backend("jax")
>>> pyhf.tensorlib.poisson(5., 6.)
DeviceArray(0.16062314, dtype=float64)
DeviceArray(0.16062314, dtype=float64, weak_type=True)
>>> values = pyhf.tensorlib.astensor([5., 9.])
>>> rates = pyhf.tensorlib.astensor([6., 8.])
>>> pyhf.tensorlib.poisson(values, rates)
Expand Down

0 comments on commit bdd35eb

Please sign in to comment.