Fix bad reference to random.index
This commit is contained in:
parent
a8fcf0d7bb
commit
ddc42d0fa6
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ utils.script = {
|
|||
},
|
||||
makeArray: function (type, arrayLength, cb) {
|
||||
if (type === null || type === undefined) {
|
||||
type = random.index(['Uint8', 'Float32'])
|
||||
type = random.item(['Uint8', 'Float32'])
|
||||
}
|
||||
switch (random.number(8)) {
|
||||
case 0:
|
||||
|
|
Loading…
Reference in a new issue