Skip to content

Commit

Permalink
Merge branch 'JuliaSymbolics:master' into trig_issue
Browse files Browse the repository at this point in the history
  • Loading branch information
n0rbed authored Sep 9, 2024
2 parents b9cd1f5 + 8644899 commit eb94612
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -433,9 +433,5 @@ function symbolic_to_float end
symbolic_to_float(x::Num) = symbolic_to_float(unwrap(x))
symbolic_to_float(x::Number) = x
function symbolic_to_float(x::SymbolicUtils.BasicSymbolic)
if _x isa Number
return _x
else
substitute(x,Dict())
end
substitute(x,Dict())
end

0 comments on commit eb94612

Please sign in to comment.