Skip to content

Commit 9ebd8fa

Browse files
committed
fix: use explicit NamedTuple notation tu support Julia 1.0
1 parent bc3931f commit 9ebd8fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/permutations.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function Base.iterate(p::Permutations, state=nothing)
3333
if isnothing(it) return nothing end
3434
end
3535
indices, mp_state = it
36-
return [p.data[i] for i in indices], (; mp, mp_state)
36+
return [p.data[i] for i in indices], (; mp=mp, mp_state=mp_state)
3737
end
3838

3939
function Base.length(p::Permutations)

0 commit comments

Comments
 (0)