Fixed curve-bench compile error (#83)

* Fixed benchmarking compile error

* Updated CHANGELOG

* patch `algebra-test-templates` due to breaking changes since the last release

Co-authored-by: Marcin Górny <marcin.gorny.94@protonmail.com>
This commit is contained in:
Michael Rosenberg
2021-12-05 11:48:33 -05:00
committed by GitHub
parent f1e36c5bed
commit c5547905d0
3 changed files with 3 additions and 1 deletions

View File

@@ -234,7 +234,7 @@ macro_rules! ec_bench {
.map(|_| Fr::rand(&mut rng).into_repr())
.collect();
b.bench_n(1, |b| {
b.iter(|| ark_ec::msm::VariableBaseMSM::multi_scalar_mul(&v, &scalars));
b.iter(|| ark_ec::msm::VariableBase::msm(&v, &scalars));
})
}