mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 01:03:09 +00:00
Simplify tte use condition
No functional change.
This commit is contained in:
parent
e654209211
commit
8d1c1074d5
1 changed files with 1 additions and 2 deletions
|
@ -609,8 +609,7 @@ namespace {
|
||||||
|
|
||||||
// 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() & BOUND_LOWER) && ttValue > eval)
|
if (tte->bound() & (ttValue > eval ? BOUND_LOWER : BOUND_UPPER))
|
||||||
|| ((tte->bound() & BOUND_UPPER) && ttValue < eval))
|
|
||||||
eval = ttValue;
|
eval = ttValue;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue