Skip to content

Commit

Permalink
Update benchmarks for new linear_proof API
Browse files Browse the repository at this point in the history
  • Loading branch information
cathieyun committed Jan 23, 2023
1 parent 55e2569 commit 664033f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions benches/linear_proof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ fn create_linear_proof_helper(c: &mut Criterion) {
G.clone(),
&F,
&B,
);
).unwrap();
})
},
TEST_SIZES,
Expand Down Expand Up @@ -141,7 +141,7 @@ fn linear_verify(c: &mut Criterion) {
G.clone(),
&F,
&B,
);
).unwrap();

(proof, C)
};
Expand All @@ -150,7 +150,7 @@ fn linear_verify(c: &mut Criterion) {
bench.iter(|| {
let mut verifier_transcript = Transcript::new(b"LinearProofBenchmark");
proof
.verify(*n, &mut verifier_transcript, &C, &G, &F, &B, b.clone())
.verify(&mut verifier_transcript, &C, &G, &F, &B, b.clone())
.unwrap();
});
},
Expand Down

0 comments on commit 664033f

Please sign in to comment.