Skip to content

Commit

Permalink
fix warnings in reductions tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gnzlbg committed Jun 13, 2018
1 parent d4009e1 commit dda4072
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/coresimd/tests/reductions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ mod offset {
v = v.replace(i, start);
}
let vsum = v.sum();
let r = vsum.as_int() == sum.as_int();
let _r = vsum.as_int() == sum.as_int();
// This is false in general; the intrinsic performs a
// tree-reduce:
let mut a = [0. as $elem_ty; $id::lanes()];
Expand Down Expand Up @@ -424,7 +424,7 @@ mod offset {
v = v.replace(i, start);
}
let vmul = v.product();
let r = vmul.as_int() == mul.as_int();
let _r = vmul.as_int() == mul.as_int();
// This is false in general; the intrinsic performs a
// tree-reduce:
let mut a = [0. as $elem_ty; $id::lanes()];
Expand Down

0 comments on commit dda4072

Please sign in to comment.