mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Revert: "Do not razor when in check"
It is slightly weaker after 500 games. Keep the check on mate values. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
17000d1ea0
commit
b58ad355ca
1 changed files with 1 additions and 2 deletions
|
@ -1236,8 +1236,7 @@ namespace {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Null move search not allowed, try razoring
|
// Null move search not allowed, try razoring
|
||||||
else if ( !isCheck
|
else if ( !value_is_mate(beta)
|
||||||
&& !value_is_mate(beta)
|
|
||||||
&& ( (approximateEval < beta - RazorMargin && depth < RazorDepth)
|
&& ( (approximateEval < beta - RazorMargin && depth < RazorDepth)
|
||||||
||(approximateEval < beta - PawnValueMidgame && depth <= OnePly)))
|
||(approximateEval < beta - PawnValueMidgame && depth <= OnePly)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue