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 8fccedb commit 750c096Copy full SHA for 750c096
src/algorithms.jl
@@ -196,6 +196,10 @@ macro functiondef(f)
196
@inline function default_algorithm(::typeof($f), A; kwargs...)
197
return default_algorithm($f!, A; kwargs...)
198
end
199
+ # fix ambiguity error
200
+ @inline function default_algorithm(::typeof($f), ::Type{A}; kwargs...) where {A}
201
+ return default_algorithm($f!, A; kwargs...)
202
+ end
203
204
# copy documentation to both functions
205
Core.@__doc__ $f, $f!
0 commit comments