Skip to content

Commit

Permalink
return partial matches regardless of final matches
Browse files Browse the repository at this point in the history
  • Loading branch information
eaypek-tfh committed Oct 28, 2024
1 parent ea28066 commit c864d26
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions iris-mpc/src/bin/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -830,23 +830,23 @@ async fn server_main(config: Config) -> eyre::Result<()> {
true => Some(match_ids[i].iter().map(|x| x + 1).collect::<Vec<_>>()),
false => None,
},
match matches[i] {
true => Some(
match partial_match_ids_left[i].is_empty() {
false => Some(
partial_match_ids_left[i]
.iter()
.map(|x| x + 1)
.collect::<Vec<_>>(),
),
false => None,
true => None,
},
match matches[i] {
true => Some(
match partial_match_ids_right[i].is_empty() {
false => Some(
partial_match_ids_right[i]
.iter()
.map(|x| x + 1)
.collect::<Vec<_>>(),
),
false => None,
true => None,
},
);

Expand Down

0 comments on commit c864d26

Please sign in to comment.