Skip to content

Commit

Permalink
bugfix: cargo clippy --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dmpierre committed Nov 28, 2023
1 parent 313fa1b commit 35e6b1d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/sum_check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,13 @@ where
)?;
}

let res =
IOPVerifierStateGeneric::check_and_generate_subclaim(&verifier_state, &claimed_sum);
res

IOPVerifierStateGeneric::check_and_generate_subclaim(&verifier_state, &claimed_sum)
}

fn extract_sum(proof: &Self::SumCheckProof) -> C::ScalarField {
let res = proof.proofs[0].evaluations[0] + proof.proofs[0].evaluations[1];
res

proof.proofs[0].evaluations[0] + proof.proofs[0].evaluations[1]
}
}

Expand Down

0 comments on commit 35e6b1d

Please sign in to comment.