Skip to content

Commit

Permalink
FIX @current_position indent
Browse files Browse the repository at this point in the history
  • Loading branch information
hatappi committed Sep 30, 2017
1 parent fd8a1cb commit 126d378
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/chainer/iterators/serial_iterator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@ def next
else
batch = @dataset[0...rest].map { |index| @dataset[index] }
end

@current_position = rest
end
@current_position = rest
else
@current_position = 0
end
Expand Down

0 comments on commit 126d378

Please sign in to comment.