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(