Skip to content

Commit 81b757f

Browse files
fix
1 parent 28bc0e4 commit 81b757f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ macro def(expr)
273273
# Positional-argument method, has defaults for all but the first arg:
274274
positional = :(function $rule($(names[1]), $(params[2:end]...))
275275
$check_sign_eta
276-
vars = $(maybe_float).(($(names...)),($(default_types...)))
276+
vars = $(maybe_float).([$(names...)],[$(default_types...)])
277277
return new{typeof.(vars)...}(vars...)
278278
end)
279279
# Keyword-argument method. (Made an inner constructor only to allow

0 commit comments

Comments
 (0)