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

MvNormal and MvTDist 32-bit logpdf fixes #1250

Merged
merged 1 commit into from
Jan 13, 2021
Merged

Conversation

rofinn
Copy link
Member

@rofinn rofinn commented Jan 6, 2021

logpdf should probably return 32-bit results if only 32-bit inputs are provided.
This only fixes it for MvNormal and MvTDist since that's what I'm working with.
Not sure if my tests fit with the current organizational system.

logpdf should probably return 32-bit results if only 32-bit inputs are provided.
This only fixes it for MvNormal and MvTDist since that's what I'm working with.
Not sure if my tests fit with the current organizational system.
@codecov-io
Copy link

codecov-io commented Jan 6, 2021

Codecov Report

Merging #1250 (958a6f7) into master (3a29bb1) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1250   +/-   ##
=======================================
  Coverage   81.81%   81.82%           
=======================================
  Files         117      117           
  Lines        6589     6591    +2     
=======================================
+ Hits         5391     5393    +2     
  Misses       1198     1198           
Impacted Files Coverage Δ
src/multivariate/mvnormal.jl 73.05% <100.00%> (ø)
src/multivariate/mvtdist.jl 62.00% <100.00%> (+0.77%) ⬆️

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 3a29bb1...958a6f7. Read the comment docs.

@rofinn rofinn requested a review from andreasnoack January 12, 2021 20:49
@andreasnoack
Copy link
Member

It would be great to also have the other methods for MvNormal and MvTDist made generic but this is fine as a start.

@andreasnoack andreasnoack merged commit 997f2bb into master Jan 13, 2021
@andreasnoack andreasnoack deleted the rf/logpdf-32bit branch January 13, 2021 09:09
@rofinn
Copy link
Member Author

rofinn commented Jan 13, 2021

My plan was to address these as they come up to avoid an overly large PR. If you'd prefer I can probably make some time to do a full scan over those Distributions types? Also, should I make a PR to tag a patch release?

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.

3 participants