You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia> K,t = puiseux_series_field(QQ,10,"t")
(Puiseux series field in t over QQ, t + O(t^11))
julia> R,x = K["x"]
(Univariate polynomial ring in x over K, x)
julia> roots(x-1)
ERROR: StackOverflowError:
Stacktrace:
[1] factor(a::AbstractAlgebra.Generic.Poly{AbstractAlgebra.Generic.PuiseuxSeriesFieldElem{QQFieldElem}})
@ Hecke ~/.julia/packages/Hecke/x2Cxg/src/Misc/Integer.jl:179
[2] factor(x::AbstractAlgebra.Generic.Poly{AbstractAlgebra.Generic.PuiseuxSeriesFieldElem{QQFieldElem}})
@ Hecke ~/.julia/packages/Hecke/x2Cxg/src/Hecke.jl:202
[3] factor(a::AbstractAlgebra.Generic.Poly{AbstractAlgebra.Generic.PuiseuxSeriesFieldElem{QQFieldElem}}; b::@Kwargs{})
@ Hecke ~/.julia/packages/Hecke/x2Cxg/src/Misc/Integer.jl:179
--- the last 2 lines are repeated 26659 more times ---
[53322] factor(x::AbstractAlgebra.Generic.Poly{AbstractAlgebra.Generic.PuiseuxSeriesFieldElem{QQFieldElem}})
@ Hecke ~/.julia/packages/Hecke/x2Cxg/src/Hecke.jl:202
@thofma Is computing roots over puiseux_series_field currently supported? Roots over PadicFields seem to work.
The text was updated successfully, but these errors were encountered:
joschmitt
changed the title
StackOverflowError when computing roots of a polynomial over ``(QQ)
StackOverflowError when computing roots over Puiseux series field
Aug 21, 2024
I think this stack overflow is here instead of a MethodError: no method matching factor(::AbstractAlgebra.Generic.PuiseuxSeriesFieldElem{QQFieldElem}) due to thofma/Hecke.jl#1394
With thofma/Hecke.jl#1701 we finally don't get a stack overflow but at least a sensible error:
julia> roots(x-1)
ERROR: function factor is not implemented for argument
AbstractAlgebra.Generic.Poly{AbstractAlgebra.Generic.PuiseuxSeriesFieldElem{QQFieldElem}}: x - 1 + O(t^10)
This is related to #4007, and found together with @VictoriaSchleis @APMS04
@thofma Is computing roots over
puiseux_series_field
currently supported? Roots overPadicFields
seem to work.The text was updated successfully, but these errors were encountered: