From 4bc62bcddbc1112e681d2528ec6b09fda3897964 Mon Sep 17 00:00:00 2001 From: Vinzent Steinberg Date: Mon, 12 Apr 2021 02:57:10 -0300 Subject: [PATCH] Fix benchmarks --- benches/core/matrix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benches/core/matrix.rs b/benches/core/matrix.rs index df4a5a5b..3c483c35 100644 --- a/benches/core/matrix.rs +++ b/benches/core/matrix.rs @@ -188,7 +188,7 @@ fn tr_mul_to(bench: &mut criterion::Criterion) { let b = DVector::::new_random(1000); let mut c = DVector::from_element(1000, 0.0); - bench.bench_function("", move |bh| bh.iter(|| a.tr_mul_to(&b, &mut c))); + bench.bench_function("tr_mul_to", move |bh| bh.iter(|| a.tr_mul_to(&b, &mut c))); } fn mat_mul_mat(bench: &mut criterion::Criterion) {