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