Skip to content

Commit 40fe575

Browse files
authored
Merge pull request #197 from cscherrer/master
default to symtype(x) = typeof(x)
2 parents 8ab757e + 9254b92 commit 40fe575

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)