Permalink
Browse files

score.h: Remove two unnecessary parentheses

  • Loading branch information...
1 parent daef352 commit e5eb89aca21d7db3046f7fd6a895608fc47ba8d8 @girving committed Nov 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 score.h
View
2 score.h
@@ -211,7 +211,7 @@ score_tv score_hand(cards_tv cards) {
// Check for straight flushes (15+5+8+7+3+2 = 40 operations)
const cards_tv suits = count_suits(cards);
- const cards_tv flushes = each_suit&(suits>>2)&(suits>>1|suits); // Detect suits with at least 5 cards
+ const cards_tv flushes = each_suit&suits>>2&(suits>>1|suits); // Detect suits with at least 5 cards
const score_tv straight_flushes = all_straights(cards_with_suit(cards,flushes));
score_tv score = if_nz1(straight_flushes,SCORE(STRAIGHT_FLUSH,0,max_bit(straight_flushes)));

0 comments on commit e5eb89a

Please sign in to comment.