Skip to content

Commit

Permalink
Remove redundant line
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion authored Aug 23, 2024
1 parent 114c16b commit 17e5955
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "SymbolicUtils"
uuid = "d1185830-fcd6-423d-90d6-eec64667417b"
authors = ["Shashi Gowda"]
version = "3.4.0"
version = "3.4.1"

[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
Expand Down
3 changes: 1 addition & 2 deletions src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -996,10 +996,9 @@ variable. So, `h(1, g)` will fail and `h(1, f)` will work.
"""
macro syms(xs...)
defs = map(xs) do x
n, t = _name_type(x)
T = esc(t)
nt = _name_type(x)
n, t = nt.name, nt.type
T = esc(t)
:($(esc(n)) = Sym{$T}($(Expr(:quote, n))))
end
Expr(:block, defs...,
Expand Down

0 comments on commit 17e5955

Please sign in to comment.