arnaucube
arnaucube/poulpyPublic Self-hosted repository
Merge remote-tracking branch 'origin/rasoul/bug_fix' into dev_trait
Pro7ech jeanphilippe.bossuat@gmail.com
Wed, 22 Oct 2025 10:38:34 +0200
commit

5755aea58c7d6df8d2f2d1831a9791d64a505a04

parent

56a88892a5ee983613baf2ead045ac1e78574a3f

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M poulpy-schemes/src/tfhe/bdd_arithmetic/ciphertexts/block.rs → poulpy-schemes/src/tfhe/bdd_arithmetic/ciphertexts/block.rs

@@ -118,7 +118,7 @@

let (mut pt, scratch_1) = scratch.take_glwe_pt(&pt_infos); for i in 0..T::WORD_SIZE { - pt.encode_coeff_i64(value.bit(i) as i64, TorusPrecision(1), 0); + pt.encode_coeff_i64(value.bit(i) as i64, TorusPrecision(2), 0); self.blocks[i].encrypt_sk(&module, &pt, sk, source_xa, source_xe, scratch_1); } }