fix countouring 'tails' and empty slices
This commit is contained in:
parent
0e7abcaf17
commit
4d592ea309
2 changed files with 5 additions and 2 deletions
|
|
@ -194,7 +194,10 @@
|
|||
const mark = UTIL.time();
|
||||
const rarr = [];
|
||||
z.forEach((zv,zi) => {
|
||||
rarr.push(this.slice(zv, opt, zi, z.length, mark));
|
||||
const data = this.slice(zv, opt, zi, z.length, mark);
|
||||
if (data) {
|
||||
rarr.push(data);
|
||||
}
|
||||
});
|
||||
return rarr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue