Skip to content

Commit

Permalink
remove underscore in function name
Browse files Browse the repository at this point in the history
  • Loading branch information
albheim committed Sep 24, 2020
1 parent b7a9db0 commit 6131d6e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/utilities.jl
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ macro autovec(indices, nout, f)
fname = dict[:name]
args = get(dict, :args, [])
kwargs = get(dict, :kwargs, [])
argnames = extract_varname.(args)
kwargnames = extract_varname.(kwargs)
argnames = extractvarname.(args)
kwargnames = extractvarname.(kwargs)
quote
$(esc(f)) # Original function

Expand All @@ -174,6 +174,6 @@ macro autovec(indices, nout, f)
end
end

function extract_varname(a)
typeof(a) == Symbol ? a : extract_varname(a.args[1])
function extractvarname(a)
typeof(a) == Symbol ? a : extractvarname(a.args[1])
end

0 comments on commit 6131d6e

Please sign in to comment.