mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33: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
|
||||
else if ( !isCheck
|
||||
&& !value_is_mate(beta)
|
||||
else if ( !value_is_mate(beta)
|
||||
&& ( (approximateEval < beta - RazorMargin && depth < RazorDepth)
|
||||
||(approximateEval < beta - PawnValueMidgame && depth <= OnePly)))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue