From 048d7f0a4822a158723a1e77965ae1851cd98e7b Mon Sep 17 00:00:00 2001 From: n0rbed Date: Sun, 25 Aug 2024 07:46:59 +0300 Subject: [PATCH] simpler fix --- src/solver/main.jl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/solver/main.jl b/src/solver/main.jl index 14b664b9a..2e4b91c2a 100644 --- a/src/solver/main.jl +++ b/src/solver/main.jl @@ -187,8 +187,7 @@ function symbolic_solve(expr, x::T; dropmultiplicity = true, warns = true) where isequal(sols, nothing) && return nothing for sol in sols for var in x - root = get(sol, var, missing) - if !isequal(wrap(root), missing) + if haskey(sol, var) sol[var] = postprocess_root(sol[var]) end end