comment fixed
This commit is contained in:
parent
5e3f12beb5
commit
0c0049194e
@ -21,7 +21,7 @@ impl Matrix {
|
|||||||
let n = ciphertexts.len();
|
let n = ciphertexts.len();
|
||||||
let mut values = Vec::with_capacity(n * n);
|
let mut values = Vec::with_capacity(n * n);
|
||||||
|
|
||||||
// First row: [2^noise_bits, ciphertexts[0], ciphertexts[1], ..., ciphertexts[t]]
|
// First row: [2^noise_bits, ciphertexts[1], ..., ciphertexts[t]]
|
||||||
values.push((2.0f64).powi(noise_bits as i32));
|
values.push((2.0f64).powi(noise_bits as i32));
|
||||||
values.extend_from_slice(&ciphertexts[1..]);
|
values.extend_from_slice(&ciphertexts[1..]);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user