From 55a334bf21f078d0324d03bd90f60a5f09795a21 Mon Sep 17 00:00:00 2001 From: Aaron Feickert <66188213+AaronFeickert@users.noreply.github.com> Date: Wed, 10 Jan 2024 17:33:56 -0600 Subject: [PATCH] Fix benchmark batch verification (#33) The benchmark for batch verification always runs against a single proof due to a typo. This PR fixes the error. --- benches/triptych.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benches/triptych.rs b/benches/triptych.rs index a5dbb8c..105d615 100644 --- a/benches/triptych.rs +++ b/benches/triptych.rs @@ -189,7 +189,7 @@ fn verify_batch_proof(c: &mut Criterion) { ); group.bench_function(&label, |b| { // Generate data - let (witnesses, statements, transcripts) = generate_data(¶ms, 1, &mut rng); + let (witnesses, statements, transcripts) = generate_data(¶ms, batch, &mut rng); // Generate the proofs let proofs = izip!(witnesses.iter(), statements.iter(), transcripts.clone().iter_mut())