Merge pull request #209 from jmagnuson/master

Fix benchmark macro `bench_binop`
This commit is contained in:
Sébastien Crozet 2016-10-26 00:26:18 +02:00 committed by GitHub
commit e0fc89ffc6

View File

@ -16,7 +16,7 @@ macro_rules! bench_binop(
i = (i + 1) & (LEN - 1);
unsafe {
test::black_box(elems1.get_unchecked(i).$binop(*elems2.get_unchecked(i)))
test::black_box((*elems1.get_unchecked(i)).$binop(*elems2.get_unchecked(i)))
}
})
}