Parametrize FunctionField as FunctionField{T, U}#2414
Conversation
Add a second type parameter `U <: PolyRingElem{T}` to `FunctionField` and `FunctionFieldElem`, mirroring `RationalFunctionField{T, U}`. Here `U` is the (univariate) polynomial type over the coefficient field, so the underlying poly type is carried by the type rather than recomputed via `poly_type(T)`.
|
If the tests pass, can we treat this PR as "nonbreaking"? We would like to use this downstream soonish. Any thoughts on that @fingolfin or @lgoettgens? |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2414 +/- ##
==========================================
- Coverage 88.13% 88.12% -0.01%
==========================================
Files 130 130
Lines 32948 32943 -5
==========================================
- Hits 29038 29031 -7
- Misses 3910 3912 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
failures in Hecke CI are expected: we need to be exact here (i have a pr, waiting for this to land and version upgrade i guess?) |
|
Hecke changes to follow |
I would be fine with it, but it seems like downstream CI is unhappy... |
yes and it will be fixed by this is due to the way julia resolves "overloads" - current |
Adds a second type parameter
U <: PolyRingElem{T}toGeneric.FunctionFieldandGeneric.FunctionFieldElem, mirroringRationalFunctionField{T, U}. Unlike the latter (whoseUmay be uni- or multivariate), hereUis restricted to the univariate polynomial element type