Skip to content

Commit b01acf9

Browse files
tkfoxinabox
andauthored
Update src/sparse_int_set.jl
Co-authored-by: Lyndon White <[email protected]>
1 parent 0f9d69a commit b01acf9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/sparse_int_set.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,9 @@ struct ZippedSparseIntSetIterator{VT,IT}
210210
end
211211
end
212212

213-
Base.zip(s0::SparseIntSet, s::SparseIntSet...; kwargs...) =
214-
ZippedSparseIntSetIterator(s0, s...; kwargs...)
213+
function Base.zip(s0::SparseIntSet, s::SparseIntSet...; kwargs...)
214+
return ZippedSparseIntSetIterator(s0, s...; kwargs...)
215+
end
215216

216217
length(it::ZippedSparseIntSetIterator) = length(it.shortest_set)
217218

0 commit comments

Comments
 (0)