Skip to content

Commit

Permalink
revert apache#91
Browse files Browse the repository at this point in the history
  • Loading branch information
pluskid committed May 9, 2016
1 parent e7cd135 commit baa9c2a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/symbolic-node.jl
Original file line number Diff line number Diff line change
Expand Up @@ -613,17 +613,17 @@ function _define_atomic_symbol_creator(hdr :: MX_handle; gen_docs=false)
hint = lowercase($func_name_s)
name = get!(DEFAULT_NAME_MANAGER, name, hint)

# set attrs
for (k, v) in attrs
set_attr(node, k, v)
end

if length(args) != 0
_compose!(node, name, args...)
else
_compose!(node; name=name, symbol_kws...)
end

# set attrs
for (k, v) in attrs
set_attr(node, k, v)
end

return node
end

Expand Down

0 comments on commit baa9c2a

Please sign in to comment.