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 239be6f
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 @@ -948,7 +948,7 @@ impl Circuits {
result::group_start().unwrap();
for (idx, res) in send_bufs.iter().enumerate() {
self.comms[idx]
.send_view(&res.slice(range.to_owned()), self.next_id, &streams[idx])
.send_view(&res.slice(0..range.len()), self.next_id, &streams[idx])
.unwrap();
}
for (idx, res) in res.iter_mut().enumerate() {
Expand Down

0 comments on commit 239be6f

Please sign in to comment.