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

Allow sampling NegativeBinomial for p==1 #1575

Merged
merged 2 commits into from
Jul 1, 2022

Conversation

simsurace
Copy link
Contributor

This solves the first case of #1512.

test/negativebinomial.jl Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Jun 30, 2022

Codecov Report

Merging #1575 (d0b1257) into master (7831193) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1575   +/-   ##
=======================================
  Coverage   85.51%   85.52%           
=======================================
  Files         128      128           
  Lines        7858     7861    +3     
=======================================
+ Hits         6720     6723    +3     
  Misses       1138     1138           
Impacted Files Coverage Δ
src/univariate/discrete/negativebinomial.jl 92.45% <100.00%> (+0.45%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7831193...d0b1257. Read the comment docs.

Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
@simsurace
Copy link
Contributor Author

Perhaps we can merge this before #1568 and then resolve the test conflicts and bump & release both PRs as they both affect NegativeBinomial?

@simsurace simsurace requested a review from devmotion July 1, 2022 09:33
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.

I'll merge and release right away, seems like a useful bugfix. Thanks for the PR!

@devmotion devmotion merged commit 73f64dd into JuliaStats:master Jul 1, 2022
@simsurace simsurace deleted the ss/negbin_rand branch July 1, 2022 11:11
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.

None yet

3 participants