-
Notifications
You must be signed in to change notification settings - Fork 59
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
Clean up HeckeMiscPoly.jl
#1853
base: master
Are you sure you want to change the base?
Conversation
68b2dad
to
ed3d4f9
Compare
It is slightly more clever than the generic AbstractAlgebra method
ed3d4f9
to
cef4b6a
Compare
cef4b6a
to
55a34a0
Compare
55a34a0
to
61365ef
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1853 +/- ##
==========================================
+ Coverage 86.21% 86.77% +0.55%
==========================================
Files 99 99
Lines 36030 35974 -56
==========================================
+ Hits 31064 31217 +153
+ Misses 4966 4757 -209 ☔ View full report in Codecov by Sentry. |
b938a3b
to
3239fe0
Compare
src/flint/fmpq_poly.jl
Outdated
function roots(R::T, f::QQPolyRingElem) where {T<:Union{fqPolyRepField, fpField}} | ||
Rt, t = polynomial_ring(R, "t", cached=false) | ||
fp = polynomial_ring(ZZ, cached=false)[1](f * denominator(f)) | ||
fpp = Rt(fp) | ||
return roots(fpp) | ||
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.
I'm not sure, we need this function? See the TODO comment I added for an explanation.
No description provided.