diff --git a/iris-mpc-gpu/src/dot/share_db.rs b/iris-mpc-gpu/src/dot/share_db.rs index 17ef8213c..7f091ea7d 100644 --- a/iris-mpc-gpu/src/dot/share_db.rs +++ b/iris-mpc-gpu/src/dot/share_db.rs @@ -313,7 +313,7 @@ impl ShareDB { let a0_host = record .iter() - .map(|&x: &u16| ((x >> 8) as i32 - 128) as i8) + .map(|&x| ((x as i8) as i32 - 128) as i8) .collect::>(); let a1_host = record