Skip to content

Commit

Permalink
fix benchmark (microsoft#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenciak authored and huitseeker committed Dec 8, 2023
1 parent 50c3380 commit 8fc422e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions benches/compressed-snark-supernova.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ fn bench_two_augmented_circuit_compressed_snark(c: &mut Criterion) {
println!("res failed {:?}", e);
}
assert!(res.is_ok());
let res = recursive_snark.verify(&pp, 1, &z0_primary, &z0_secondary);
let res = recursive_snark.verify(&pp, 0, &z0_primary, &z0_secondary);
if let Err(e) = &res {
println!("res failed {:?}", e);
}
Expand Down Expand Up @@ -352,7 +352,7 @@ fn bench_two_augmented_circuit_compressed_snark_with_computational_commitments(c
println!("res failed {:?}", e);
}
assert!(res.is_ok());
let res = recursive_snark.verify(&pp, 1, &z0_primary, &z0_secondary);
let res = recursive_snark.verify(&pp, 0, &z0_primary, &z0_secondary);
if let Err(e) = &res {
println!("res failed {:?}", e);
}
Expand Down
2 changes: 1 addition & 1 deletion benches/recursive-snark-supernova.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ fn bench_two_augmented_circuit_recursive_snark(c: &mut Criterion) {
println!("res failed {:?}", e);
}
assert!(res.is_ok());
let res = recursive_snark.verify(&pp, 1, &z0_primary, &z0_secondary);
let res = recursive_snark.verify(&pp, 0, &z0_primary, &z0_secondary);
if let Err(e) = &res {
println!("res failed {:?}", e);
}
Expand Down

0 comments on commit 8fc422e

Please sign in to comment.