Skip to content

Commit 3a665ca

Browse files
committed
Base.Pairs notdef in LTS
1 parent 3854874 commit 3a665ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ end
2222
# Filter keyword arguments to those accepted by function.
2323
# Avoid throwing errors here if a keyword argument is not provided: defer
2424
# 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}
25+
function get_filtered_kwargs(kwargs::AbstractDict, accepted_kwargs::NTuple{N,Symbol}) where{N}
2626
(kw => kwargs[kw] for kw in accepted_kwargs if haskey(kwargs, kw))
2727
end
2828

0 commit comments

Comments
 (0)