Simplify Singular Extension condition
authorJoost VandeVondele <Joost.VandeVondele@gmail.com>
Mon, 2 Apr 2018 22:13:35 +0000 (00:13 +0200)
committerStéphane Nicolet <cassio@free.fr>
Mon, 2 Apr 2018 22:13:38 +0000 (00:13 +0200)
commit0cfb653eeca1bc44b9d331498a9ccb3e9b97a9c1
tree819ae7ddde24afab7750167f90e33ced44aa6a5f
parente408fd7b10503a9114962cb5972abd9957bc67c2
Simplify Singular Extension condition

Avoid defining a singly used variable, removes one condition.

passed STC:
LLR: 2.96 (-2.94,2.94) [-3.00,1.00]
Total: 53489 W: 10814 L: 10752 D: 31923
http://tests.stockfishchess.org/tests/view/5ac08a8d0ebc590e9457cd94

Closes https://github.com/official-stockfish/Stockfish/pull/1530

No functional change.
src/search.cpp
src/types.h