Skip to content

Commit

Permalink
Start testing against pymc3 master
Browse files Browse the repository at this point in the history
  • Loading branch information
ColCarroll committed Jun 4, 2017
1 parent 0f15b33 commit a12ce2f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ python:
- "3.5"
- "3.6"
install:
- pip install -e .
- pip install git+https://github.com/pymc-devs/pymc3
- pip install .
- pip install pytest flake8 coveralls
script:
- py.test -v test/
Expand Down
4 changes: 2 additions & 2 deletions sampled/sampled.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ def __init__(self, observed):
self.observed = observed
super(ObserverModel, self).__init__()

def Var(self, name, dist, data=None, **kwargs):
def Var(self, name, dist, data=None, total_size=None):
return super(ObserverModel, self).Var(name, dist,
data=self.observed.get(name, data),
**kwargs)
total_size=total_size)


def sampled(f):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name='sampled',
version='0.1.1',
version='0.1.2',
description='Decorator for reusable models in PyMC3',
long_description=long_description,
author='Colin Carroll',
Expand Down

0 comments on commit a12ce2f

Please sign in to comment.