Fix benchmark macro bench_binop

This commit is contained in:
jmagnuson 2016-10-23 12:42:38 -05:00
parent b6ff9df31a
commit 885223473e

View File

@ -16,7 +16,7 @@ macro_rules! bench_binop(
i = (i + 1) & (LEN - 1); i = (i + 1) & (LEN - 1);
unsafe { 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)))
} }
}) })
} }