Skip to content

Commit

Permalink
chore(pr): fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
tmontaigu committed Jul 25, 2024
1 parent b3f7e39 commit f145137
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tfhe/src/integer/server_key/radix_parallel/add.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion tfhe/src/integer/server_key/radix_parallel/sub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit f145137

Please sign in to comment.