mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-10 15:18:33 -05:00
fix(gpu): fix overflow error in clear inputs remainder in long run tests
This commit is contained in:
@@ -428,7 +428,7 @@ where
|
||||
// Div executor
|
||||
let div_rem_executor = CpuFunctionExecutor::new(&ServerKey::div_rem_parallelized);
|
||||
// Div Rem Clear functions
|
||||
let clear_div_rem = |x: i64, y: i64| -> (i64, i64) { (x.wrapping_div(y), x % y) };
|
||||
let clear_div_rem = |x: i64, y: i64| -> (i64, i64) { (x.wrapping_div(y), x.wrapping_rem(y)) };
|
||||
#[allow(clippy::type_complexity)]
|
||||
let mut div_rem_op: Vec<(
|
||||
SignedDivRemOpExecutor,
|
||||
|
||||
Reference in New Issue
Block a user