mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 16:53: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?
|
||||
if (ttValue != VALUE_NONE)
|
||||
if ( ((tte->bound() & BOUND_LOWER) && ttValue > eval)
|
||||
|| ((tte->bound() & BOUND_UPPER) && ttValue < eval))
|
||||
if (tte->bound() & (ttValue > eval ? BOUND_LOWER : BOUND_UPPER))
|
||||
eval = ttValue;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue