summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
738bf66)
We have already calculated it, so just sorting the
moves adds a very little overhead.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
break;
case PH_BAD_CAPTURES:
break;
case PH_BAD_CAPTURES:
- // It's probably a good idea to use SEE move ordering here. FIXME
+ // Bad captures SEE value is already calculated by score_captures()
+ // so just sort them to get SEE move ordering.
+ std::sort(badCaptures, badCaptures + numOfBadCaptures);