Skip to content

Commit

Permalink
spacing oops
Browse files Browse the repository at this point in the history
  • Loading branch information
n0rbed committed Nov 11, 2024
1 parent fe4b480 commit 0368c3e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/solver/ia_main.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ function isolate(lhs, var; warns=true, conditions=[], complex_roots = true, peri
new_var = gensym()
new_var = (@variables $new_var)[1]
if Base.get_extension(Symbolics, :SymbolicsNemoExt) !== nothing
lhs_roots = solve_univar(lhs-new_var, var)
lhs_roots = solve_univar(lhs - new_var, var)
else
a, b, islin = linear_expansion(lhs-new_var, var)
a, b, islin = linear_expansion(lhs - new_var, var)
if islin
lhs_roots = [-b // a]
else
lhs_roots = [RootsOf(lhs-new_var, var)]
lhs_roots = [RootsOf(lhs - new_var, var)]
if warns
@warn "Nemo is required to properly solve this expression. Execute `using Nemo` to enable this functionality."
end
Expand Down

0 comments on commit 0368c3e

Please sign in to comment.