Commit 55cf5354 authored by Thomas Daede's avatar Thomas Daede

Wrap get_sad bench in black_box.

parent f3047a61
......@@ -45,7 +45,7 @@ fn bench_get_sad(b: &mut Bencher, bs: &BlockSize) {
let plane_ref = rec_plane.slice(&po);
b.iter(|| {
let _ = me::get_sad(&plane_org, &plane_ref, bsw, bsh);
let _ = black_box(me::get_sad(&plane_org, &plane_ref, bsw, bsh));
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment