Skip to content

Conversation

@mohamed82008
Copy link
Contributor

This PR fixes #190.

Copy link
Member

@devmotion devmotion left a comment

Choose a reason for hiding this comment

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

It would be good to remove the dependency on Turing in the tests. Additionally, the version should be bumped.

@devmotion
Copy link
Member

BTW it seems this fixes #2 as well?

@mohamed82008
Copy link
Contributor Author

BTW it seems this fixes #2 as well?

Yes!

mohamed82008 and others added 2 commits November 21, 2020 22:45
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
@mohamed82008
Copy link
Contributor Author

I reverted the pdf change because the prob macro does exp(logpdf(..)) which gives a slightly different result from pdf in this case.

@devmotion
Copy link
Member

Just test for approximate equality? IMO that should be sufficient as well.

@mohamed82008
Copy link
Contributor Author

Just test for approximate equality? IMO that should be sufficient as well.

It's fine as is.

Copy link
Member

@devmotion devmotion left a comment

Choose a reason for hiding this comment

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

LGTM

@devmotion
Copy link
Member

bors r+

bors bot pushed a commit that referenced this pull request Nov 22, 2020
@bors
Copy link
Contributor

bors bot commented Nov 22, 2020

Timed out.

@devmotion
Copy link
Member

The time-out is caused by the missing Travis tests due to our negative credit balance. We have to decide if we want to ask for more credits or switch to Github Actions (or something else). But since all tests passed (apart from the Travis one), I'll merge this one manually.

@devmotion devmotion merged commit 9043d65 into master Nov 22, 2020
@devmotion devmotion deleted the mt/fix190 branch November 22, 2020 15:28
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.

Turing resamples variable that is passed as variable to condition on when querying

3 participants