rolled back the error of the previous author

Sergey Kozlov 2019-10-23 16:40:28 +06:00
parent 0265ec0d71
commit d28c2eed0a

@ -182,7 +182,7 @@ batchSize := 3
var batches [][]int
for batchSize < len(actions) {
actions, batches = actions[batchSize:], append(batches, actions[0:batchSize])
actions, batches = actions[batchSize:], append(batches, actions[0:batchSize:batchSize])
}
batches = append(batches, actions)
```