We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28bc0e4 commit 81b757fCopy full SHA for 81b757f
src/interface.jl
@@ -273,7 +273,7 @@ macro def(expr)
273
# Positional-argument method, has defaults for all but the first arg:
274
positional = :(function $rule($(names[1]), $(params[2:end]...))
275
$check_sign_eta
276
- vars = $(maybe_float).(($(names...)),($(default_types...)))
+ vars = $(maybe_float).([$(names...)],[$(default_types...)])
277
return new{typeof.(vars)...}(vars...)
278
end)
279
# Keyword-argument method. (Made an inner constructor only to allow
0 commit comments