Closed
Description
Running examples/garch_example.py fails with error:
Traceback (most recent call last):
File "garch_example.py", line 40, in <module>
beta1 = BoundedNormal('beta1', 0, sd=1e6)
File "/Users/**/anaconda3/envs/py35/lib/python3.5/site-packages/pymc3/distributions/continuous.py", line 1102, in __call__
*args, **kwargs)
File "/Users/**/anaconda3/envs/py35/lib/python3.5/site-packages/pymc3/distributions/distribution.py", line 27, in __new__
return model.Var(name, dist, data)
File "/Users/**/anaconda3/envs/py35/lib/python3.5/site-packages/pymc3/model.py", line 288, in Var
transform=dist.transform)
File "/Users/**/anaconda3/envs/py35/lib/python3.5/site-packages/pymc3/model.py", line 689, in __init__
transformed_name = "{}_{}_".format(name, transform.name)
AttributeError: 'int' object has no attribute 'name'
Python 3.5.2
pymc3 (3.0rc2)