n0rbed / Root-finding

root finding for Symbolics.jl
0 stars 1 forks source link

passing a single "special case" equation as an array. #1

Closed n0rbed closed 1 month ago

n0rbed commented 2 months ago

If you pass the equation

(x+1)^20

As an array to the solve function like so:

solve([(x+1)^20], x)

It will expand it in the overloaded function, which bypasses the conditions for the special case we have in the main solve function, returning nothing.

P.S. solve((x+1)^20, x) works fine.