Skip to content

Commit

Permalink
adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
a committed Mar 10, 2024
1 parent 4e5a5c4 commit 85cb293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ function unsorted_arguments(x::BasicSymbolic)
end

isexpr(s::BasicSymbolic) = !issym(s)
iscall(s::BasicSymbolic) = true
iscall(s::BasicSymbolic) = isexpr(s)
@inline isa_SymType(T::Val{S}, x) where {S} = x isa BasicSymbolic ? Unityper.isa_type_fun(Val(SymbolicUtils.BasicSymbolic), T, x) : false
issym(x::BasicSymbolic) = isa_SymType(Val(:Sym), x)
isterm(x) = isa_SymType(Val(:Term), x)
Expand Down

0 comments on commit 85cb293

Please sign in to comment.