We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc3931f commit 9ebd8faCopy full SHA for 9ebd8fa
src/permutations.jl
@@ -33,7 +33,7 @@ function Base.iterate(p::Permutations, state=nothing)
33
if isnothing(it) return nothing end
34
end
35
indices, mp_state = it
36
- return [p.data[i] for i in indices], (; mp, mp_state)
+ return [p.data[i] for i in indices], (; mp=mp, mp_state=mp_state)
37
38
39
function Base.length(p::Permutations)
0 commit comments