Skip to content

Commit

Permalink
fix(shortint): error message in packing keyswitch
Browse files Browse the repository at this point in the history
  • Loading branch information
nsarlin-zama committed Jan 15, 2025
1 parent a91e861 commit cd96bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tfhe/src/shortint/list_compression/compression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 ,
);
Expand Down

0 comments on commit cd96bde

Please sign in to comment.