-
Notifications
You must be signed in to change notification settings - Fork 191
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
Depend on ChainRulesCore? #716
Comments
More importantly about I am surprised there is not already a transitive dependency on ChainRulesCore. If https://github.com/JuliaLang/Statistics.jl/issues/4 is done then for newer versions of Julia we will be able to define this in ChainRules.jl with the other rules that we have for the Statistics stdlib. The rule might actually require a little care. Also i think the |
Yes I'd rather have ChainRules depend on Statistics once functions are moved there. Otherwise the dependency on ChainRulesCore will make that move impossible. |
It is in StatsBase >= 0.33.11 through LogExpFunctions. |
I've recently ran into this error in the wild, see MWE
I've fixed it by pirating
which solves the problem.
I wonder whether a PR adding this would be welcome? It would need to add a dependency on ChainRulesCore, which is quite lightweight (order of 0.1s precompile time IIRC)
The text was updated successfully, but these errors were encountered: