mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-06 10:53:50 +08:00
Remove setting of static to none if in check in qsearch
Small simplification Passed non-regression STC: https://tests.stockfishchess.org/tests/view/6487924d713491385c8034ae LLR: 2.93 (-2.94,2.94) <-1.75,0.25> Total: 59616 W: 15885 L: 15703 D: 28028 Ptnml(0-2): 144, 6130, 17086, 6296, 152 closes https://github.com/official-stockfish/Stockfish/pull/4618 No functional change.
This commit is contained in:
committed by
Joost VandeVondele
parent
7922e07af8
commit
887bbd8b3d
1
AUTHORS
1
AUTHORS
@@ -215,6 +215,7 @@ tttak
|
||||
Unai Corzo (unaiic)
|
||||
Uri Blass (uriblass)
|
||||
Vince Negri (cuddlestmonkey)
|
||||
Viren
|
||||
windfishballad
|
||||
xefoci7612
|
||||
zz4032
|
||||
|
||||
@@ -1464,7 +1464,6 @@ moves_loop: // When in check, search starts here
|
||||
// Step 4. Static evaluation of the position
|
||||
if (ss->inCheck)
|
||||
{
|
||||
ss->staticEval = VALUE_NONE;
|
||||
bestValue = futilityBase = -VALUE_INFINITE;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user