Skip to content

Commit

Permalink
🚨 Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sheagrief committed Sep 26, 2023
1 parent c81b237 commit 2fb3cbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/preprocessing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ fn verify_bracket_share(bracket_share: &BracketShares, _parameters: &Parameters)
/// # Returns
/// The BracketShare of global public key.
///
pub fn initialize(parameters: &Parameters, she_params: &SHEParameters) -> BracketShare {
pub fn initialize(parameters: &Parameters, she_params: &SHEParameters) -> BracketShares {
let n = 3;

let mut rng = thread_rng();
Expand Down
4 changes: 2 additions & 2 deletions src/she/polynomial.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ fn poly_remainder<F: Field>(a: &[F], b: &[F], degree: usize) -> Vec<F> {
r[i + degree] -= t[i];
}

let zero = F::zero();
let _zero = F::zero();

while let Some(zero) = r.last() {
while let Some(_zero) = r.last() {
r.pop();
}
}
Expand Down

0 comments on commit 2fb3cbc

Please sign in to comment.