`degree` not working for complex coefficients
vambrosi opened this issue · 0 comments
vambrosi commented
The following code is giving an error:
using Symbolics
@variables z
Symbolics.degree(1im + z, z)
The error is:
DomainError with Symbolics.ComplexTerm{Real}(z, 1):
Datatype Symbolics.ComplexTerm{Real} not accepted.
Does degree
only work with real coefficients?