Skip to content

Commit 8f6e8a8

Browse files
committed
fix case when args are specified as tuples
1 parent 4ea2ce5 commit 8f6e8a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/build_function.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ function _build_function(target::JuliaTarget, rhss::AbstractArray, args...;
461461
end
462462
end
463463

464-
function vars_to_pairs(name,vs::AbstractArray, symsdict=Dict())
464+
function vars_to_pairs(name,vs::Union{Tuple, AbstractArray}, symsdict=Dict())
465465
vs_names = tosymbol.(vs)
466466
for (v,k) in zip(vs_names, vs)
467467
symsdict[k] = v

0 commit comments

Comments
 (0)