Skip to content

Commit

Permalink
fix code len assert
Browse files Browse the repository at this point in the history
  • Loading branch information
eaypek-tfh committed Jan 9, 2025
1 parent 32a1508 commit ae5864c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iris-mpc-gpu/src/dot/share_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ae5864c

Please sign in to comment.