diff --git a/src/concrete/ml/quantization/base_quantized_op.py b/src/concrete/ml/quantization/base_quantized_op.py index eb93ac942..31c3df90b 100644 --- a/src/concrete/ml/quantization/base_quantized_op.py +++ b/src/concrete/ml/quantization/base_quantized_op.py @@ -1012,10 +1012,7 @@ def cnp_round( if lsbs_value > 0: # Rounding to low bit-width with approximate can cause issues with overflow protection # FIXME: https://github.com/zama-ai/concrete-ml-internal/issues/4345 - if exactness == fhe.Exactness.APPROXIMATE: - x = fhe.round_bit_pattern( - x, lsbs_to_remove=lsbs_value, exactness=exactness, overflow_protection=False - ) - else: - x = fhe.round_bit_pattern(x, lsbs_to_remove=lsbs_value, exactness=exactness) + x = fhe.round_bit_pattern( + x, lsbs_to_remove=lsbs_value, exactness=exactness, overflow_protection=False + ) return x