diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2020-07-06 11:34:44 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2020-07-06 11:34:44 -0400 |
commit | ed4d7b7143f1a8a9602698ca3e60e18bbb4dd226 (patch) | |
tree | 942300a2da8eca1c2195a3a94a596591ebabe298 /benches | |
parent | 77b0033e83f11a194651123e42b7960c6e756657 (diff) | |
download | acap-ed4d7b7143f1a8a9602698ca3e60e18bbb4dd226.tar.xz |
Clean up merge_k_nearest*() interface a bit
Diffstat (limited to 'benches')
-rw-r--r-- | benches/benches.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benches/benches.rs b/benches/benches.rs index caed17c..ddf227a 100644 --- a/benches/benches.rs +++ b/benches/benches.rs @@ -88,7 +88,7 @@ fn bench_nearest_neighbors(c: &mut Criterion) { group.bench_function("merge_k_nearest_within", |b| b.iter_batched( || Vec::with_capacity(3), |mut n| { - index.merge_k_nearest_within(&target, 3, &mut n, 0.1); + index.merge_k_nearest_within(&target, 3, 0.1, &mut n); n }, BatchSize::SmallInput, |