=str code clean up in Sliding.
This commit is contained in:
parent
3a1d31e841
commit
80cd63faf5
1 changed files with 1 additions and 1 deletions
|
|
@ -903,7 +903,7 @@ private[stream] object Collect {
|
|||
if (buf.size == n) {
|
||||
push(out, buf)
|
||||
} else pull(in)
|
||||
} else if (step > n) {
|
||||
} else {
|
||||
if (buf.size == step) {
|
||||
buf = buf.drop(step)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue