Skip to content

Commit

Permalink
Use &= instead of |= (duh)
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Collingbourne committed Feb 28, 2011
1 parent 2f34a83 commit f60297c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmarks/mri-q/src/klee/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ int main(int argc, char **argv) {

int same = 1;
for (int x = 0; x < numX; ++x) {
same |= float_bitwise_eq(cpuQr[x], gpuQr[x]);
same |= float_bitwise_eq(cpuQi[x], gpuQi[x]);
same &= float_bitwise_eq(cpuQr[x], gpuQr[x]);
same &= float_bitwise_eq(cpuQi[x], gpuQi[x]);
}
klee_print_expr("same", same);

Expand Down

0 comments on commit f60297c

Please sign in to comment.