Skip to content
Permalink
Browse files

bug fix in OmahaHighHandEvaluator::evaluateRanks

  • Loading branch information
Alexey Nanaban
Alexey Nanaban committed Aug 2, 2019
1 parent 93575a6 commit f15874ae8130f3315d1fcff4250606ac6ebe6049
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/lib/pokerstove/peval/OmahaHighHandEvaluator.h
@@ -66,8 +66,8 @@ class OmahaHighHandEvaluator : public PokerHandEvaluator
for (size_t i = 0; i < hand_candidates.size(); i++)
for (size_t j = 0; j < board_candidates.size(); j++)
{
CardSet meld(hand);
meld.insertRanks(board);
CardSet meld(hand_candidates[i]);
meld.insertRanks(board_candidates[j]);
PokerEvaluation e = meld.evaluateHighRanks();
if (e > eval)
eval = e;

0 comments on commit f15874a

Please sign in to comment.
You can’t perform that action at this time.