Skip to content

Conversation

dustinvtran
Copy link
Member

@dustinvtran dustinvtran commented Oct 2, 2017

For example, we raise an error when instantiating an inference object that assumes explicit densities and the passed-in objects don't have a _log_prob method.

I was working on this until I started to wonder if we should even support such checks. Maybe we should throw away most of our static typing (#188, #198, #213) and follow the spirit of duck typing.

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.

1 participant