-
Notifications
You must be signed in to change notification settings - Fork 22
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
improvements to stack #125
Conversation
Codecov Report
@@ Coverage Diff @@
## main #125 +/- ##
==========================================
- Coverage 88.75% 88.61% -0.14%
==========================================
Files 13 13
Lines 578 571 -7
==========================================
- Hits 513 506 -7
Misses 65 65
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Errors due to #119 |
I think it is better to wait for #124 to be merged and then remove the |
Based on the discussion in #119, it doesn't seem like
You mean so we release both changes together? Or is there a connection to Tables.jl that I am missing? |
ops, I mentioned the wrong PR, I meant JuliaDiff/ChainRules.jl#681 |
15933c1
to
b8ed90b
Compare
This method should also call stack (if it cannot be removed): Lines 332 to 342 in 855f95b
|
src/MLUtils.jl
Outdated
if VERSION < v"1.9.0-DEV.1163" | ||
import Compat: stack | ||
else | ||
import Base: stack | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can simplify, as this will get Base version when available:
if VERSION < v"1.9.0-DEV.1163" | |
import Compat: stack | |
else | |
import Base: stack | |
end | |
using Compat: stack |
|
||
[deps] | ||
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" | ||
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should probably bound Compat = "4.2". (Can't bound ChainRules but that's ok.)
54fafe8
to
3fa64ee
Compare
Fix #121 and add arrule
for stack.Edit:
Remove the
stack
implementation in favor of the one from Base. The change is technically breaking since we don't support anymoredims > N+1
(see #119 (comment))Fix #121 fix #119