mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-08 00:33:06 +00:00
actually randomizes
This commit is contained in:
parent
0155c422ab
commit
40c760c80c
@ -328,8 +328,8 @@ mod tests {
|
||||
v.iter().map(|&x| x.into()).collect::<Vec<_>>()
|
||||
}
|
||||
|
||||
let first_inputs = vec![vec![F::rand(); CHUNK_SIZE]; num_copies];
|
||||
let second_inputs = vec![vec![F::rand(); CHUNK_SIZE]; num_copies];
|
||||
let first_inputs: Vec<Vec<F>> = (0..num_copies).map(|_| F::rand_vec(CHUNK_SIZE)).collect();
|
||||
let second_inputs: Vec<Vec<F>> = (0..num_copies).map(|_| F::rand_vec(CHUNK_SIZE)).collect();
|
||||
let switch_bools = vec![true, false, true];
|
||||
|
||||
let gate = SwitchGate::<F, D, CHUNK_SIZE> {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user