Skip to content

Commit

Permalink
Minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Jun 5, 2016
1 parent efa0edc commit 0fad79c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/z3c/batching/batch.py
Expand Up @@ -273,7 +273,7 @@ def first_neighbours_last(batches, currentBatchIdx, nb_left, nb_right):
prevIdx = currentBatchIdx - nb_left
nextIdx = currentBatchIdx + 1
firstBatch = batches[0]
lastBatch = batches[len(batches)-1]
lastBatch = batches[lastIdx]

# add first batch
if firstIdx < currentBatchIdx:
Expand Down

0 comments on commit 0fad79c

Please sign in to comment.