Skip to content

Fix Poisson logcdf #5307

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

Merged
merged 1 commit into from
Jan 3, 2022
Merged

Conversation

ricardoV94
Copy link
Member

@ricardoV94 ricardoV94 commented Jan 3, 2022

This showed up in #5231, the evalution of a scalar logcdf was returning a 1D result, because of a silly comma :D

Didn't add tests, because we are not checking this for any other distribution...

@codecov
Copy link

codecov bot commented Jan 3, 2022

Codecov Report

Merging #5307 (51b8948) into main (e63cb5b) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #5307      +/-   ##
==========================================
+ Coverage   79.01%   79.03%   +0.02%     
==========================================
  Files          87       87              
  Lines       14370    14370              
==========================================
+ Hits        11354    11357       +3     
+ Misses       3016     3013       -3     
Impacted Files Coverage Δ
pymc/distributions/discrete.py 98.72% <100.00%> (ø)
pymc/parallel_sampling.py 87.33% <0.00%> (+1.00%) ⬆️

Copy link
Contributor

@AlexAndorra AlexAndorra left a comment

Choose a reason for hiding this comment

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

Thanks @ricardoV94

@AlexAndorra AlexAndorra merged commit 36c7553 into pymc-devs:main Jan 3, 2022
@ricardoV94 ricardoV94 deleted the fix_poisson_logcdf branch January 5, 2022 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants