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> polynomial_ring(QQ, ["x", "y"]; internal_ordering=:lex)
(Multivariate polynomial ring in 2 variables over rationals, AbstractAlgebra.Generic.MPoly{Rational{BigInt}}[x, y])
But the macro version does not:
julia> @polynomial_ring(QQ, ["x", "y"]; internal_ordering=:lex)
ERROR: LoadError: MethodError: no method matching popfirst!(::Tuple{Expr, Symbol, Expr})
Closest candidates are:
popfirst!(::BitVector)
@ Base bitarray.jl:868
popfirst!(::BitSet)
@ Base bitset.jl:276
popfirst!(::AbstractChannel)
@ Base channels.jl:11
...
Stacktrace:
[1] var"@polynomial_ring"(__source__::LineNumberNode, __module__::Module, args::Vararg{Any})
@ AbstractAlgebra ~/Projekte/OSCAR/AbstractAlgebra.jl/src/misc/VarNames.jl:293
in expression starting at REPL[40]:1
So it tries to popfirst! a macro, which of course doesn't work.
The text was updated successfully, but these errors were encountered:
This works:
But the macro version does not:
So it tries to
popfirst!
a macro, which of course doesn't work.The text was updated successfully, but these errors were encountered: