Skip to content

Conversation

@devmotion
Copy link
Member

This PR should fix #121. It removes the constants from StatsFuns and instead reexports the statistical constants defined in IrrationalConstants. Moreover, it adds support for LogExpFunctions 0.3 (which was not part of #118). Additionally, it fixes a test error that showed up in #118.

@devmotion devmotion changed the title Fix https://github.com/JuliaStats/StatsFuns.jl/issues/121 (extension of https://github.com/JuliaStats/StatsFuns.jl/pull/118) Fix #121 and add dependency on IrrationalConstants (extension of #118) Aug 13, 2021
@codecov-commenter
Copy link

codecov-commenter commented Aug 13, 2021

Codecov Report

Merging #122 (044baa7) into master (56322bb) will increase coverage by 0.19%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #122      +/-   ##
==========================================
+ Coverage   28.72%   28.91%   +0.19%     
==========================================
  Files          11       11              
  Lines         369      370       +1     
==========================================
+ Hits          106      107       +1     
  Misses        263      263              
Impacted Files Coverage Δ
src/misc.jl 41.17% <100.00%> (+3.67%) ⬆️

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 56322bb...044baa7. Read the comment docs.

@devmotion
Copy link
Member Author

devmotion commented Aug 13, 2021

@KristofferC Maybe support for LogExpFunctions 0.2 should be removed since it defines some of the log constants that are moved to IrrationalConstants? However, they are not imported or exported anymore and I don't get any warnings if I load StatsFuns (this PR) based on LogExpFunctions 0.2.

@tpapp
Copy link
Contributor

tpapp commented Aug 13, 2021

support for LogExpFunctions 0.2 should be removed

Yes, that should be done.

Co-authored-by: Tamas K. Papp <tkpapp@gmail.com>
@KristofferC
Copy link
Member

👍

@devmotion devmotion merged commit 7a6dc09 into JuliaStats:master Aug 13, 2021
@devmotion devmotion deleted the irrationalconstants branch August 13, 2021 12:33
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.

Use IrrationalConstants as a dependency

5 participants