diff --git a/poulpy-core/src/tests/test_suite/automorphism/gglwe_atk.rs b/poulpy-core/src/tests/test_suite/automorphism/gglwe_atk.rs index 906fc89..415c353 100644 --- a/poulpy-core/src/tests/test_suite/automorphism/gglwe_atk.rs +++ b/poulpy-core/src/tests/test_suite/automorphism/gglwe_atk.rs @@ -256,7 +256,6 @@ where let p1: i64 = -5; (1..3).for_each(|rank| { (1..digits + 1).for_each(|di| { - let k_apply: usize = (digits + di) * basek; let n: usize = module.n(); diff --git a/poulpy-hal/src/reference/fft64/reim4/arithmetic_ref.rs b/poulpy-hal/src/reference/fft64/reim4/arithmetic_ref.rs index 26c774f..24e8665 100644 --- a/poulpy-hal/src/reference/fft64/reim4/arithmetic_ref.rs +++ b/poulpy-hal/src/reference/fft64/reim4/arithmetic_ref.rs @@ -119,7 +119,6 @@ pub fn reim4_vec_mat1col_product_ref( j += 8; } dst[0..8].copy_from_slice(&acc); - } #[inline(always)] diff --git a/poulpy-hal/src/test_suite/svp.rs b/poulpy-hal/src/test_suite/svp.rs index fdaad56..ec3a649 100644 --- a/poulpy-hal/src/test_suite/svp.rs +++ b/poulpy-hal/src/test_suite/svp.rs @@ -459,8 +459,6 @@ pub fn test_svp_apply_dft_to_dft_inplace( ); } - - assert_eq!(res_ref, res_test); } } diff --git a/poulpy-schemes/examples/circuit_bootstrapping.rs b/poulpy-schemes/examples/circuit_bootstrapping.rs index 868e008..9b4d0cc 100644 --- a/poulpy-schemes/examples/circuit_bootstrapping.rs +++ b/poulpy-schemes/examples/circuit_bootstrapping.rs @@ -13,7 +13,7 @@ use poulpy_hal::{ source::Source, }; -use poulpy_backend::{FFT64Avx}; +use poulpy_backend::FFT64Avx; use poulpy_schemes::tfhe::{ blind_rotation::CGGI, @@ -142,8 +142,7 @@ fn main() { let mut res: GGSWCiphertext> = GGSWCiphertext::alloc(n_glwe, basek, k_ggsw_res, rows_ggsw_res, 1, rank); // Circuit bootstrapping key prepared (opaque backend dependant write only struct) - let cbt_prepared: CircuitBootstrappingKeyPrepared, CGGI, FFT64Avx> = - cbt_key.prepare_alloc(&module, scratch.borrow()); + let cbt_prepared: CircuitBootstrappingKeyPrepared, CGGI, FFT64Avx> = cbt_key.prepare_alloc(&module, scratch.borrow()); // Apply circuit bootstrapping: LWE(data * 2^{- (k_lwe_pt + 2)}) -> GGSW(data) let now: Instant = Instant::now();