Skip to content

Commit

Permalink
fix of fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rw0x0 committed Jan 22, 2025
1 parent db43027 commit 58ab1db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iris-mpc-gpu/src/threshold_ring/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ impl Circuits {
result::group_start().unwrap();
self.comms[idx]
.send_view(
&send_bufs.slice(range.to_owned()),
&send_bufs.slice(0..range.len()),
self.next_id,
&streams[idx],
)
Expand Down Expand Up @@ -952,7 +952,7 @@ impl Circuits {
.unwrap();
}
for (idx, res) in res.iter_mut().enumerate() {
let mut rcv = res.b.slice(range.to_owned());
let mut rcv = res.b.slice(0..range.len());
self.comms[idx]
.receive_view(&mut rcv, self.prev_id, &streams[idx])
.unwrap();
Expand Down

0 comments on commit 58ab1db

Please sign in to comment.