-
Couldn't load subscription status.
- Fork 34
fix: remove invalidating ::Any methods
#346
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
base: master
Are you sure you want to change the base?
fix: remove invalidating ::Any methods
#346
Conversation
src/comparison.jl
Outdated
| Base.isequal(α, q::RationalPoly) = isequal(α * q.den, q.num) | ||
| Base.isequal(q::RationalPoly, α) = isequal(α, q) | ||
| Base.isequal(α::Union{Number,MA.AbstractMutable,AbstractArray}, q::RationalPoly) = isequal(α * q.den, q.num) | ||
| Base.isequal(q::RationalPoly, α::Union{Number,MA.AbstractMutable,AbstractArray}) = isequal(α, q) |
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.
Define this Union as a const const _Constant
9738765 to
ed52a33
Compare
|
Is the support of |
|
No, that part is fine. The only other invalidations from this dependency tree are |
ed52a33 to
167d238
Compare
I also removed the
::Nothingmethod since it was invalidating, and if I understand correctly it was necessary due to the::Anymethods.