]> git.sesse.net Git - stockfish/commit
Remove extraReduction
authorMinetaS <skdty87@gmail.com>
Fri, 7 Apr 2023 14:30:59 +0000 (14:30 +0000)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Mon, 10 Apr 2023 07:28:37 +0000 (09:28 +0200)
commita5643b89fda5060d4b40dff54afe02816c899dd4
tree35d229f6fd7260f9f4f6cfe5050cce7e17011cb6
parent6e63dd63a4f1e3074a9f5a8d7f64fdd0eba19c7e
Remove extraReduction

Since bestValue becomes value and beta - alpha is always non-negative,
extraReduction is always false, hence it has no effect.

This patch includes small changes to improve readability.

closes https://github.com/official-stockfish/Stockfish/pull/4505

No functional change
src/search.cpp