mirror of
https://github.com/sockspls/badfish
synced 2025-05-02 09:39:36 +00:00
Remove unnecessay legality check
Possible after the recent reording pos.legal(move) check https://github.com/official-stockfish/Stockfish/pull/2941 No functional change.
This commit is contained in:
parent
23ecf3d5c6
commit
450b60a303
2 changed files with 2 additions and 2 deletions
1
AUTHORS
1
AUTHORS
|
@ -79,6 +79,7 @@ Jean Gauthier (OuaisBla)
|
||||||
Jean-Francois Romang (jromang)
|
Jean-Francois Romang (jromang)
|
||||||
Jekaa
|
Jekaa
|
||||||
Jerry Donald Watson (jerrydonaldwatson)
|
Jerry Donald Watson (jerrydonaldwatson)
|
||||||
|
jjoshua2
|
||||||
Jonathan Calovski (Mysseno)
|
Jonathan Calovski (Mysseno)
|
||||||
Jonathan Dumale (SFisGOD)
|
Jonathan Dumale (SFisGOD)
|
||||||
Joost VandeVondele (vondele)
|
Joost VandeVondele (vondele)
|
||||||
|
|
|
@ -1079,8 +1079,7 @@ moves_loop: // When in check, search starts from here
|
||||||
/* && ttValue != VALUE_NONE Already implicit in the next condition */
|
/* && ttValue != VALUE_NONE Already implicit in the next condition */
|
||||||
&& abs(ttValue) < VALUE_KNOWN_WIN
|
&& abs(ttValue) < VALUE_KNOWN_WIN
|
||||||
&& (tte->bound() & BOUND_LOWER)
|
&& (tte->bound() & BOUND_LOWER)
|
||||||
&& tte->depth() >= depth - 3
|
&& tte->depth() >= depth - 3)
|
||||||
&& pos.legal(move))
|
|
||||||
{
|
{
|
||||||
Value singularBeta = ttValue - ((formerPv + 4) * depth) / 2;
|
Value singularBeta = ttValue - ((formerPv + 4) * depth) / 2;
|
||||||
Depth singularDepth = (depth - 1 + 3 * formerPv) / 2;
|
Depth singularDepth = (depth - 1 + 3 * formerPv) / 2;
|
||||||
|
|
Loading…
Add table
Reference in a new issue