mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
Data/Random/Buffer, spec updated
This commit is contained in:
parent
94e4b16267
commit
f08cd8396f
9 changed files with 164 additions and 10 deletions
|
|
@ -24,7 +24,7 @@ fun genCyclicArrays (n, eq, cross) {
|
|||
x -> [x, clone (x)]
|
||||
esac
|
||||
else
|
||||
local a = split (n),
|
||||
local a = split (n, random (n+1)),
|
||||
b = mapArray (id, a),
|
||||
index = initArray (random (a.length + 1), fun (_) {random (a.length)});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue