Skip to content

Conversation

@aseyboldt
Copy link
Member

pymc3 should pass user defined potentials to hmc. This used to be in #1747.

Copy link
Member

Choose a reason for hiding this comment

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

I think this should be outside, quad_potential(), no? Also, I think better to be explicit here, i.e. :if potential is not None: self.potential = potential.

Copy link
Member Author

Choose a reason for hiding this comment

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

true

Copy link
Member

Choose a reason for hiding this comment

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

Wouldn't need this then.

@twiecki
Copy link
Member

twiecki commented Feb 3, 2017

LGTM.

@twiecki twiecki merged commit d2289c2 into pymc-devs:master Feb 3, 2017
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.

2 participants