Skip to content

Commit ab5a450

Browse files
committed
chore(test): fix wopbs only test which was using a wrong set of parameters
1 parent f8a0cde commit ab5a450

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tfhe/src/shortint/wopbs/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ fn generate_lut_modulus(params: (ClassicPBSParameters, WopbsParameters)) {
8585
}
8686

8787
fn generate_lut_modulus_not_power_of_two(params: (ClassicPBSParameters, WopbsParameters)) {
88-
let (cks, sks) = gen_keys(params);
88+
let (cks, sks) = gen_keys(params.1);
8989
let wopbs_key = WopbsKey::new_wopbs_key_only_for_wopbs(&cks, &sks);
9090
// let keys = KEY_CACHE_WOPBS.get_from_param((WOPBS_PRIME_PARAM_MESSAGE_2_NORM2_2_KS_PBS,
9191
// WOPBS_PRIME_PARAM_MESSAGE_2_NORM2_2_KS_PBS)); let (cks, _, wopbs_key) = (keys.client_key(),

0 commit comments

Comments
 (0)