JuliaSymbolics / Symbolics.jl

Symbolic programming for the next generation of numerical software

Home Page:https://symbolics.juliasymbolics.org/stable/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`degree` not working for complex coefficients

vambrosi opened this issue · comments

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?