Skip to content

Commit

Permalink
Merge branch 'JuliaSymbolics:master' into new_docs
Browse files Browse the repository at this point in the history
  • Loading branch information
n0rbed authored Sep 9, 2024
2 parents f827c89 + 8644899 commit 38b87ee
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 38b87ee

Please sign in to comment.