Skip to content

remove StatsFuns dependency #352

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 5 commits into from
Aug 11, 2021
Merged

remove StatsFuns dependency #352

merged 5 commits into from
Aug 11, 2021

Conversation

st--
Copy link
Member

@st-- st-- commented Aug 6, 2021

Instead, depend explicitly on IrrationalConstants for logtwo and two\pi (for the newcomer: what's the value of doing that over simply writing log(2) or 2\pi, anyways?), and on LogExpFunctions for softplus - StatsFuns was simply reexporting all of these. We are still held back from LogExpFunctions=0.3 compatibility by SpecialFunctions (@torfjelde is working on that already), but otherwise good to go. Will bump version once we can bump the dependencies.

@st-- st-- requested a review from willtebbutt August 6, 2021 09:25
@st-- st-- marked this pull request as draft August 6, 2021 09:25
Copy link
Member

@willtebbutt willtebbutt left a comment

Choose a reason for hiding this comment

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

This looks reasonable to me -- very happy to see this merged once SpecialFunctions is updated.

@st--
Copy link
Member Author

st-- commented Aug 9, 2021

Waiting for JuliaMath/SpecialFunctions.jl#333 (or @torfjelde's replacement PR).

@st-- st-- marked this pull request as ready for review August 10, 2021 19:49
@st-- st-- merged commit 71af718 into master Aug 11, 2021
@st-- st-- deleted the st/imports branch August 11, 2021 07:12
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.

2 participants