Skip to content

Commit

Permalink
Fix iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
grrrr committed Jun 6, 2017
1 parent e2d2b16 commit 6ea2240
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nsgt/slicq.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

# one of the more expensive functions (32/400)
def arrange(cseq, M, fwd):
cseq = iter(cseq)
try:
c0 = next(cseq) # grab first stream element
except StopIteration:
Expand Down

0 comments on commit 6ea2240

Please sign in to comment.