Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

score.h: Remove two unnecessary parentheses

  • Loading branch information...
commit e5eb89aca21d7db3046f7fd6a895608fc47ba8d8 1 parent daef352
Geoffrey Irving authored November 29, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  score.h
2  score.h
@@ -211,7 +211,7 @@ score_tv score_hand(cards_tv cards) {
211 211
 
212 212
     // Check for straight flushes (15+5+8+7+3+2 = 40 operations)
213 213
     const cards_tv suits = count_suits(cards);
214  
-    const cards_tv flushes = each_suit&(suits>>2)&(suits>>1|suits); // Detect suits with at least 5 cards
  214
+    const cards_tv flushes = each_suit&suits>>2&(suits>>1|suits); // Detect suits with at least 5 cards
215 215
     const score_tv straight_flushes = all_straights(cards_with_suit(cards,flushes));
216 216
     score_tv score = if_nz1(straight_flushes,SCORE(STRAIGHT_FLUSH,0,max_bit(straight_flushes)));
217 217
 

0 notes on commit e5eb89a

Please sign in to comment.
Something went wrong with that request. Please try again.