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

`solve_for` says `AssertionError: islinear`

jariji opened this issue · comments

julia> using Symbolics

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

julia> Symbolics.solve_for(2x^4 + 7x^3 + 4x^2 + 7x + 2 ~ 0, x)
ERROR: AssertionError: islinear
Stacktrace:
      internal @ Symbolics
 [2] solve_for(eq::Equation, var::Num)
   @ Symbolics ~/.julia/packages/Symbolics/HIg7O/src/linear_algebra.jl:96
Use `err` to retrieve the full stack trace.

(@main) pkg> st Symbolics
Status `~/.julia/environments/main/Project.toml`
  [0c5d862f] Symbolics v5.27.1

My mistake, didnt read.