-
-
Notifications
You must be signed in to change notification settings - Fork 216
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The following MWE throws an Error for me. This code will usually be a mistake in practice (this is how it showed up for us), but is valid.
function f(p; kwargs...)
g(p, kwargs...)
end
function g(p, a...)
p
end
f(5.) # works
gradient(f, 5.) # ErrorThe error is:
ERROR: MethodError: no method matching (::Zygote.var"#pairs_namedtuple#282"{(),NamedTuple{(),Tuple{}}})(::Tuple{})
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working