Skip to content

Commit 9254b92

Browse files
committed
default to symtype(x) = typeof(x)
1 parent 8ab757e commit 9254b92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function symtype end
5252

5353
symtype(x::Number) = typeof(x)
5454

55-
symtype(x) = Any
55+
symtype(x) = typeof(x)
5656

5757
symtype(::Symbolic{T}) where {T} = T
5858

0 commit comments

Comments
 (0)