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
using DynamicPolynomials
@polyvar x
a = x^2
b = x
# This runs without errorrandn(2, 2) * [a, b]
# This throws StackOverflowErrorrandn(2, 2) * [p for p in (a, b)]
# The importance difference seems to be these types@asserttypeof([a, b]) == Vector{Monomial{DynamicPolynomials.Commutative{DynamicPolynomials.CreationOrder}, Graded{LexOrder}}}
@asserttypeof([p for p in (a, b)]) == Vector{AbstractMonomialLike}