Skip to content
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

sample gamma error #275

Open
sighoya opened this issue Oct 16, 2014 · 1 comment
Open

sample gamma error #275

sighoya opened this issue Oct 16, 2014 · 1 comment

Comments

@sighoya
Copy link

sighoya commented Oct 16, 2014

Hello Guys,
The bug affected incanter 5.5. In the function sample-gamma exists a local binding tscale, which is applied directly to Gamma/staticNextDouble from cern as the "lambda" argument. But the lambda argument from cern is the rate, not the scale. So the tscale has to be inverted when giving to Gamma/staticNextDouble function.
You can see easy, if your sample-gamma function is affected by typing (source /sample-gamma) in the repl.

@alexott
Copy link
Contributor

alexott commented Dec 28, 2014

This should be fixed in 1.5.6 - can you please test it?

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

No branches or pull requests

2 participants