From cbdba38147dec7ddbc70ac1815395703c54f45cc Mon Sep 17 00:00:00 2001 From: Nicolas Sarlin Date: Wed, 15 Jan 2025 15:58:43 +0100 Subject: [PATCH] fix(shortint): error message in packing keyswitch --- tfhe/src/shortint/list_compression/compression.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tfhe/src/shortint/list_compression/compression.rs b/tfhe/src/shortint/list_compression/compression.rs index 114bb570c9..8e8a6134e3 100644 --- a/tfhe/src/shortint/list_compression/compression.rs +++ b/tfhe/src/shortint/list_compression/compression.rs @@ -46,7 +46,7 @@ impl CompressionKey { assert!( message_modulus.0 <= carry_modulus.0, - "GLWE packing is implemented with messages in carries, so carry_modulus (={}) can't be bigger than message_modulus(={})", + "GLWE packing is implemented with messages in carries, so carry_modulus (={}) must be greater than or equal to message_modulus (={})", carry_modulus.0, message_modulus.0 , );