From f14513759e7f2665e44d18a0e0a31aa17f238302 Mon Sep 17 00:00:00 2001 From: tmontaigu Date: Thu, 25 Jul 2024 12:20:22 +0200 Subject: [PATCH] chore(pr): fix typos --- tfhe/src/integer/server_key/radix_parallel/add.rs | 4 ++-- tfhe/src/integer/server_key/radix_parallel/sub.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tfhe/src/integer/server_key/radix_parallel/add.rs b/tfhe/src/integer/server_key/radix_parallel/add.rs index 6ad02db00d..5b9c81dd95 100644 --- a/tfhe/src/integer/server_key/radix_parallel/add.rs +++ b/tfhe/src/integer/server_key/radix_parallel/add.rs @@ -14,10 +14,10 @@ pub(crate) enum OutputFlag { /// The overflow flag is the flag that tells whether the input carry bit onto the last bit /// is different than the output bit. /// - /// This is usefull to know if a signed addition overflowed (in 2's complement) + /// This is useful to know if a signed addition overflowed (in 2's complement) Overflow, /// The carry flag is simply the carry bit that the output from the last pair of blocks - /// in an addtion. + /// in an addition. /// /// This is useful to know if an unsigned addition overflowed. Carry, diff --git a/tfhe/src/integer/server_key/radix_parallel/sub.rs b/tfhe/src/integer/server_key/radix_parallel/sub.rs index 0ef98c6fbe..63362124b9 100644 --- a/tfhe/src/integer/server_key/radix_parallel/sub.rs +++ b/tfhe/src/integer/server_key/radix_parallel/sub.rs @@ -293,7 +293,7 @@ impl ServerKey { } }; - self.unchecked_unsigned_overflowing_sub(lhs, rhs) + self.unchecked_unsigned_overflowing_sub_parallelized(lhs, rhs) } pub fn unchecked_unsigned_overflowing_sub_parallelized(