Skip to content

Commit 054e621

Browse files
committed
update
1 parent ea96bdb commit 054e621

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/arithematics.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ struct ConfigEnumerator{N,S,C}
108108
end
109109

110110
Base.length(x::ConfigEnumerator{N}) where N = length(x.data)
111+
Base.getindex(x::ConfigEnumerator, i) = x.data[i]
111112
Base.:(==)(x::ConfigEnumerator{N,S,C}, y::ConfigEnumerator{N,S,C}) where {N,S,C} = x.data == y.data
112113

113114
function Base.:+(x::ConfigEnumerator{N,S,C}, y::ConfigEnumerator{N,S,C}) where {N,S,C}

0 commit comments

Comments
 (0)