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

Differential(x)^0 leads to a `StackOverflow`

DanielVandH opened this issue · comments

julia> using Symbolics

julia> @variables v
1-element Vector{Num}:
 v

julia> Differential(v)^0
ERROR: StackOverflowError:
Stacktrace:
 [1] ==
   @ .\promotion.jl:521 [inlined]
 [2] _repeat_apply(f::Function, n::Int64) (repeats 79984 times)
   @ Symbolics C:\Users\User\.julia\packages\Symbolics\8tggF\src\diff.jl:382