Skip to content

Commit a7fd87a

Browse files
committed
Update Sym constructor
1 parent 6e5f170 commit a7fd87a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/types.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,9 @@ end
288288
### Constructors
289289
###
290290

291-
function Sym{T}(name::Symbol; kw...) where T
292-
Sym{T}(; name=name, kw...)
291+
function _Sym(::Type{T}, name::Symbol; kwargs...) where {T}
292+
impl = Sym(name)
293+
BasicSymbolic{T}(; impl, kwargs...)
293294
end
294295

295296
function Term{T}(f, args; kw...) where T

0 commit comments

Comments
 (0)