mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 16:53:09 +00: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:
parent
7922e07af8
commit
887bbd8b3d
2 changed files with 1 additions and 1 deletions
1
AUTHORS
1
AUTHORS
|
@ -215,6 +215,7 @@ tttak
|
||||||
Unai Corzo (unaiic)
|
Unai Corzo (unaiic)
|
||||||
Uri Blass (uriblass)
|
Uri Blass (uriblass)
|
||||||
Vince Negri (cuddlestmonkey)
|
Vince Negri (cuddlestmonkey)
|
||||||
|
Viren
|
||||||
windfishballad
|
windfishballad
|
||||||
xefoci7612
|
xefoci7612
|
||||||
zz4032
|
zz4032
|
||||||
|
|
|
@ -1464,7 +1464,6 @@ moves_loop: // When in check, search starts here
|
||||||
// Step 4. Static evaluation of the position
|
// Step 4. Static evaluation of the position
|
||||||
if (ss->inCheck)
|
if (ss->inCheck)
|
||||||
{
|
{
|
||||||
ss->staticEval = VALUE_NONE;
|
|
||||||
bestValue = futilityBase = -VALUE_INFINITE;
|
bestValue = futilityBase = -VALUE_INFINITE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue