Skip to content

Commit

Permalink
Merge pull request #639 from zengmao/master
Browse files Browse the repository at this point in the history
Remove method ambiguity in `isequal(::Symbolic, ::Missing)`.
  • Loading branch information
ChrisRackauckas authored Aug 27, 2024
2 parents 589b0e9 + 0288135 commit a4e55b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@ isdiv(x) = isa_SymType(Val(:Div), x)

Base.isequal(::Symbolic, x) = false
Base.isequal(x, ::Symbolic) = false
Base.isequal(::Symbolic, ::Missing) = false
Base.isequal(::Missing, ::Symbolic) = false
Base.isequal(::Symbolic, ::Symbolic) = false
coeff_isequal(a, b) = isequal(a, b) || ((a isa AbstractFloat || b isa AbstractFloat) && (a==b))
function _allarequal(xs, ys)::Bool
Expand Down

0 comments on commit a4e55b2

Please sign in to comment.