Skip to content

Commit

Permalink
Fix numpy array problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
dwf committed Mar 13, 2015
1 parent 7cc06bf commit 62697ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion picklable_itertools/extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,6 @@ def __init__(self, *args):

def __next__(self):
next_item = super(equizip, self).__next__()
if NoMoreItems in next_item:
if any(value is NoMoreItems for value in next_item):
raise IterableLengthMismatch
return next_item

0 comments on commit 62697ea

Please sign in to comment.