fix(gpu): fix overflow error in clear inputs remainder in long run tests

This commit is contained in:
Agnes Leroy
2025-05-26 09:50:31 +02:00
committed by Agnès Leroy
parent 6e102b5fa1
commit d01328e0fe

View File

@@ -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,