Skip to content

Commit

Permalink
Probcut-captures: don't consider moves with negative see
Browse files Browse the repository at this point in the history
bench: 5919994
  • Loading branch information
pb00068 committed Jul 17, 2017
1 parent 9d6e711 commit 959a18c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/movepick.cpp
Expand Up @@ -114,8 +114,8 @@ MovePicker::MovePicker(const Position& p, Move ttm, Value th)

stage = PROBCUT;

if (threshold <= VALUE_ZERO)
threshold = VALUE_ZERO + 1;
if (threshold < VALUE_ZERO)
threshold = VALUE_ZERO;

// In ProbCut we generate captures with SEE higher than or equal to the given threshold
ttMove = ttm
Expand Down

0 comments on commit 959a18c

Please sign in to comment.