Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
f0cii committed May 9, 2020
1 parent 2d8c92b commit dbe4390
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dataloader/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func (d *Data) Next() bool {
}
if n := d.readMore(); n > 0 {
//d.maxIndex += n
d.index = 0
d.maxIndex = n - 1
return true
}
Expand Down

0 comments on commit dbe4390

Please sign in to comment.