mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 19:49:14 +00:00
Stricter conditions in main search stand pat
Not a biggie but is a reduced pruned patch that doesn't seems to hurt, so it is welcomed ;-) After 999 games at 1+0 Mod vs Orig +207 =601 -191 +6 ELO Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
e4d3a15656
commit
bd358533a4
1 changed files with 2 additions and 3 deletions
|
@ -1497,10 +1497,9 @@ namespace {
|
|||
|
||||
// Do a "stand pat". If we are above beta by a good margin then
|
||||
// return immediately.
|
||||
// FIXME: test with added condition 'allowNullmove || depth <= OnePly' and !value_is_mate(beta)
|
||||
// FIXME: test with modified condition 'depth < RazorDepth'
|
||||
if ( !isCheck
|
||||
&& depth < SelectiveDepth
|
||||
&& allowNullmove
|
||||
&& depth < RazorDepth
|
||||
&& staticValue - FutilityMargins[int(depth)] >= beta)
|
||||
return staticValue - FutilityMargins[int(depth)];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue