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 3854874 commit 3a665caCopy full SHA for 3a665ca
src/utils.jl
@@ -22,7 +22,7 @@ end
22
# Filter keyword arguments to those accepted by function.
23
# Avoid throwing errors here if a keyword argument is not provided: defer
24
# this to the function call for a more readable error.
25
-function get_filtered_kwargs(kwargs::Base.Pairs, accepted_kwargs::NTuple{N,Symbol}) where{N}
+function get_filtered_kwargs(kwargs::AbstractDict, accepted_kwargs::NTuple{N,Symbol}) where{N}
26
(kw => kwargs[kw] for kw in accepted_kwargs if haskey(kwargs, kw))
27
end
28
0 commit comments