Skip to content

Commit

Permalink
Fixed namespace error
Browse files Browse the repository at this point in the history
  • Loading branch information
fonnesbeck committed Apr 16, 2017
1 parent b9c61fc commit 3ac6735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymc3/sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ def _transformed_init(a, b):
for tname in b:
if tname.startswith(name) and tname!=name:
transform = tname.split(name)[-1][1:-1]
transform_func = distributions.__dict__[transform]
transform_func = distributions.transforms.__dict__[transform]
b[tname] = transform_func.forward(a[name]).eval()

return b
Expand Down

0 comments on commit 3ac6735

Please sign in to comment.