Skip to content

Fixed TypeError in draw_value #2152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 15, 2017
Merged

Fixed TypeError in draw_value #2152

merged 3 commits into from
May 15, 2017

Conversation

fonnesbeck
Copy link
Member

Closes #2151

shape = param.shape
except AttributeError:
try:
shape = param.shape.eval()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about missing input exception here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which input exception are you referring to?

@fonnesbeck
Copy link
Member Author

Can this be merged? The random method remains broken otherwise.

@twiecki
Copy link
Member

twiecki commented May 15, 2017

LGTM.

@fonnesbeck fonnesbeck merged commit 65d6c3b into master May 15, 2017
@fonnesbeck fonnesbeck deleted the binomial_random branch May 15, 2017 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants