-
Notifications
You must be signed in to change notification settings - Fork 72
Add Julia(Field|Ring|ExactRing)Element type unions
#2231
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?
Conversation
src/Fraction.jl
Outdated
|
|
||
| @doc raw""" | ||
| ==(x::FracElem, y::Union{Integer, Rational, AbstractFloat}) | ||
| ==(x::FracElem, y::JuliaRingElement) |
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.
If this is used in a docstring, the union definition should also have a docstring
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.
Good point, thanks.
Looking at this, though, I'd prefer to just remove these docstrings, and make the other remaining ones clearer & more general
3f4dc90 to
79cdc9d
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2231 +/- ##
==========================================
- Coverage 88.02% 88.00% -0.03%
==========================================
Files 127 127
Lines 31815 31795 -20
==========================================
- Hits 28004 27980 -24
- Misses 3811 3815 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Motivated by issue #2100. Once this is in an AA release, we should also update Nemo to make use of this.