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 fc190a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deploy/stage/common-values-iris-mpc.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: "ghcr.io/worldcoin/iris-mpc:63b7f30f2117e7ec801583ba593b22c01af6af44"
image: "ghcr.io/worldcoin/iris-mpc:ae5864c4ebeb1afb98d2354cdca6f671f4aa4aee"

environment: stage
replicaCount: 1
Expand Down
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 fc190a0

Please sign in to comment.