Skip to content

Bounded now works with array bounds #1604

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 2 commits into from
Dec 19, 2016

Conversation

ColCarroll
Copy link
Member

Addresses #1491 . The sampling now runs, but produces nonsense results. Could use another set of eyes on this!

https://gist.github.com/ColCarroll/f003b12bf52b8e3893e2222a9a5f28ab

is the current output.

@ferrine
Copy link
Member

ferrine commented Dec 15, 2016

@ColCarroll is it possible to refactor class Bound to function Bound so that it will return a type object but not instance of class Bound?

@springcoil
Copy link
Contributor

LGTM after the advice from @ferrine is taken on board.

@ColCarroll
Copy link
Member Author

@ferrine i'm not sure what you mean by a type object.

@ferrine
Copy link
Member

ferrine commented Dec 16, 2016

@ColCarroll it is a class, not instance

@ColCarroll
Copy link
Member Author

I'm still not sure what you mean -- do you have an example of your envisioned API? (or feel free to grab this branch and fix it!)

@ferrine
Copy link
Member

ferrine commented Dec 17, 2016

@ColCarroll the following check should pass: issubclass(Bonded(Normal), Distribution)

@ColCarroll
Copy link
Member Author

ah, thank you!

@twiecki
Copy link
Member

twiecki commented Dec 19, 2016

Does it still provide nonsense results?

@ColCarroll
Copy link
Member Author

Yeah, it still provides nonsense results.

@springcoil
Copy link
Contributor

Do we merge anyway?

@ColCarroll
Copy link
Member Author

ColCarroll commented Dec 19, 2016 via email

@springcoil springcoil merged commit ab437e4 into pymc-devs:master Dec 19, 2016
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.

4 participants