fix arc.flat() bug, migrate 3d/4d topo for minions
This commit is contained in:
parent
bf3a6b1f1b
commit
3a71c93752
7 changed files with 135 additions and 155 deletions
|
|
@ -8,7 +8,7 @@ if (!AP.flat) {
|
|||
try {
|
||||
return [].concat.apply([], this);
|
||||
} catch (e) {
|
||||
// console.log({flat_error: e});
|
||||
// console.log({ flat_error: e, array: this });
|
||||
let out = [];
|
||||
for (let e of this.slice()) {
|
||||
out.push(...e);
|
||||
|
|
|
|||
Loading…
Reference in a new issue