From 4709c16a558919c2a7e6790a68063687efbc8485 Mon Sep 17 00:00:00 2001 From: Nicolas Sarlin Date: Wed, 15 Jan 2025 14:52:21 +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..ba88f10bdd 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 bigger than message_modulus(={})", carry_modulus.0, message_modulus.0 , );