Skip to content

Commit 9ab9eb7

Browse files
committed
make some strong assumptions on type stability
1 parent 9be6ac4 commit 9ab9eb7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/algorithms.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Finally, the same behavior is obtained when the keyword arguments are
8888
passed as the third positional argument in the form of a `NamedTuple`.
8989
""" select_algorithm
9090

91-
function select_algorithm(f::F, A, alg::Alg = nothing; kwargs...) where {F, Alg}
91+
Base.@assume_effects :foldable function select_algorithm(f::F, A, alg::Alg = nothing; kwargs...) where {F, Alg}
9292
if isnothing(alg)
9393
return default_algorithm(f, A; kwargs...)
9494
elseif alg isa Symbol

0 commit comments

Comments
 (0)