Skip to content

Commit

Permalink
chore(gpu): fixcompilation to squash
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Jul 29, 2024
1 parent 300cc68 commit ce9d588
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tfhe/src/high_level_api/integers/signed/overflowing_ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,10 @@ where
impl<Id, Clear> OverflowingSub<Clear> for &FheInt<Id>
where
Id: FheIntId,
Clear: SignedNumeric + DecomposableInto<u8> + std::ops::Not<Output = Clear>,
Clear: SignedNumeric
+ DecomposableInto<u8>
+ std::ops::Not<Output = Clear>
+ DecomposableInto<u64>,
{
type Output = FheInt<Id>;

Expand Down Expand Up @@ -369,7 +372,10 @@ where
impl<Id, Clear> OverflowingSub<Clear> for FheInt<Id>
where
Id: FheIntId,
Clear: SignedNumeric + DecomposableInto<u8> + std::ops::Not<Output = Clear>,
Clear: SignedNumeric
+ DecomposableInto<u8>
+ std::ops::Not<Output = Clear>
+ DecomposableInto<u64>,
{
type Output = Self;

Expand Down

0 comments on commit ce9d588

Please sign in to comment.