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

Make stan/math/prim/scal/prob/neg_binomial_lccdf.hpp more efficient #595

Closed
syclik opened this issue Aug 1, 2017 · 0 comments · Fixed by #1663
Closed

Make stan/math/prim/scal/prob/neg_binomial_lccdf.hpp more efficient #595

syclik opened this issue Aug 1, 2017 · 0 comments · Fixed by #1663
Milestone

Comments

@syclik
Copy link
Member

syclik commented Aug 1, 2017

Summary:

There are terms that are being computed multiple times and we should be using inv(x) instead of 1 / x.

See @bob-carpenter's comment

Current Version:

v2.16.0

@syclik syclik mentioned this issue Aug 1, 2017
3 tasks
bob-carpenter pushed a commit that referenced this issue Sep 27, 2017
Replace 1/x with inv(x) - issue #595
@mcol mcol added this to the 3.1.0++ milestone Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants