diff --git a/AUTHORS b/AUTHORS index 8d57062cc..4729afeab 100644 --- a/AUTHORS +++ b/AUTHORS @@ -62,7 +62,7 @@ CSTENTOR Dale Weiler (graphitemaster) Daniel Axtens (daxtens) Daniel Dugovic (ddugovic) -Daniel Monroe (Ergodice) +Daniel Monroe (daniel-monroe) Daniel Samek (DanSamek) Dan Schmidt (dfannius) Dariusz Orzechowski (dorzechowski) diff --git a/src/search.cpp b/src/search.cpp index 8dcdd5ed7..fa2355130 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1634,9 +1634,8 @@ Value Search::Worker::qsearch(Position& pos, Stack* ss, Value alpha, Value beta) } } - // Continuation history based pruning - if (!capture - && pawnHistory[pawn_history_index(pos)][pos.moved_piece(move)][move.to_sq()] < 7300) + // Skip non-captures + if (!capture) continue; // Do not search moves with bad enough SEE values