Skip to content

Commit

Permalink
Bump to version 0.2.0 (#341)
Browse files Browse the repository at this point in the history
* bump to version 0.2.0

* fix typo

* relax atol of poisson_sample test
  • Loading branch information
fehiepsi authored Jul 27, 2020
1 parent 99b0d19 commit 4b56230
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:
- name: jax
python: 3.6
script:
# Keep track of NumPyro master branch
- pip install https://github.com/pyro-ppl/numpyro/archive/master.zip
- pip install -e .[jax]
- CI=1 FUNSOR_BACKEND=jax make test
- name: torch35
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

setup(
name='funsor',
version='0.1.2',
version='0.2.0',
description='A tensor-like library for functions and distributions',
packages=find_packages(include=['funsor', 'funsor.*']),
url='https://github.com/pyro-ppl/funsor',
Expand Down
2 changes: 1 addition & 1 deletion test/test_distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -914,4 +914,4 @@ def test_poisson_sample(batch_shape, sample_inputs):
funsor_dist_class = dist.Poisson
params = (rate,)

_check_sample(funsor_dist_class, params, sample_inputs, inputs, skip_grad=True)
_check_sample(funsor_dist_class, params, sample_inputs, inputs, atol=2e-2, skip_grad=True)

0 comments on commit 4b56230

Please sign in to comment.