From 126d378b62539c5f7650ac04b745ccbbf12fac1f Mon Sep 17 00:00:00 2001 From: hatappi Date: Sun, 1 Oct 2017 00:30:41 +0900 Subject: [PATCH] FIX @current_position indent --- lib/chainer/iterators/serial_iterator.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/chainer/iterators/serial_iterator.rb b/lib/chainer/iterators/serial_iterator.rb index f9c97ab..477e950 100644 --- a/lib/chainer/iterators/serial_iterator.rb +++ b/lib/chainer/iterators/serial_iterator.rb @@ -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