Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CarloLucibello committed Feb 12, 2025
1 parent 28bc0e4 commit 81b757f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ macro def(expr)
# Positional-argument method, has defaults for all but the first arg:
positional = :(function $rule($(names[1]), $(params[2:end]...))
$check_sign_eta
vars = $(maybe_float).(($(names...)),($(default_types...)))
vars = $(maybe_float).([$(names...)],[$(default_types...)])
return new{typeof.(vars)...}(vars...)
end)
# Keyword-argument method. (Made an inner constructor only to allow
Expand Down

0 comments on commit 81b757f

Please sign in to comment.