From ae5864c4ebeb1afb98d2354cdca6f671f4aa4aee Mon Sep 17 00:00:00 2001 From: Ertugrul Aypek Date: Thu, 9 Jan 2025 19:31:17 +0100 Subject: [PATCH] fix code len assert --- iris-mpc-gpu/src/dot/share_db.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iris-mpc-gpu/src/dot/share_db.rs b/iris-mpc-gpu/src/dot/share_db.rs index ad98b27f7..17ef8213c 100644 --- a/iris-mpc-gpu/src/dot/share_db.rs +++ b/iris-mpc-gpu/src/dot/share_db.rs @@ -347,8 +347,8 @@ impl ShareDB { n_shards: usize, code_length: usize, ) { - assert_eq!(a0_host.len(), code_length / 2); - assert_eq!(a1_host.len(), code_length / 2); + assert_eq!(a0_host.len(), code_length); + assert_eq!(a1_host.len(), code_length); let device_index = index % n_shards; let device_db_index = index / n_shards;