mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
parent
973ede008a
commit
722e1e0da6
1 changed files with 6 additions and 6 deletions
|
@ -682,9 +682,9 @@ namespace {
|
|||
eval = ss->staticEval = evaluate(pos);
|
||||
|
||||
// Can ttValue be used as a better position evaluation?
|
||||
if (ttValue != VALUE_NONE)
|
||||
if (tte->bound() & (ttValue > eval ? BOUND_LOWER : BOUND_UPPER))
|
||||
eval = ttValue;
|
||||
if ( ttValue != VALUE_NONE
|
||||
&& (tte->bound() & (ttValue > eval ? BOUND_LOWER : BOUND_UPPER)))
|
||||
eval = ttValue;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1212,9 +1212,9 @@ moves_loop: // When in check search starts from here
|
|||
ss->staticEval = bestValue = evaluate(pos);
|
||||
|
||||
// Can ttValue be used as a better position evaluation?
|
||||
if (ttValue != VALUE_NONE)
|
||||
if (tte->bound() & (ttValue > bestValue ? BOUND_LOWER : BOUND_UPPER))
|
||||
bestValue = ttValue;
|
||||
if ( ttValue != VALUE_NONE
|
||||
&& (tte->bound() & (ttValue > bestValue ? BOUND_LOWER : BOUND_UPPER)))
|
||||
bestValue = ttValue;
|
||||
}
|
||||
else
|
||||
ss->staticEval = bestValue =
|
||||
|
|
Loading…
Add table
Reference in a new issue