We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9be6ac4 commit 9ab9eb7Copy full SHA for 9ab9eb7
1 file changed
src/algorithms.jl
@@ -88,7 +88,7 @@ Finally, the same behavior is obtained when the keyword arguments are
88
passed as the third positional argument in the form of a `NamedTuple`.
89
""" select_algorithm
90
91
-function select_algorithm(f::F, A, alg::Alg = nothing; kwargs...) where {F, Alg}
+Base.@assume_effects :foldable function select_algorithm(f::F, A, alg::Alg = nothing; kwargs...) where {F, Alg}
92
if isnothing(alg)
93
return default_algorithm(f, A; kwargs...)
94
elseif alg isa Symbol
0 commit comments