Skip to content

Commit 2eadc04

Browse files
committed
Remove Sym depwarn
1 parent fe86ddf commit 2eadc04

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/variable.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -659,9 +659,3 @@ function (::Type{Variable{T}})(s, i...) where {T}
659659
end
660660

661661
(::Type{Variable})(s, i...) = Variable{Real}(s, i...)
662-
663-
function (::Type{Sym{T}})(s, x, i...) where {T}
664-
Base.depwarn("Sym{T}(name, x, idx...) is deprecated, use variable(name, x, idx...; T=T)", :Variable, force=true)
665-
variable(s, x, i...; T=T)
666-
end
667-
(::Type{Sym})(s, x, i...) = Sym{Real}(s, x, i...)

0 commit comments

Comments
 (0)