We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e654209 commit 8d1c107Copy full SHA for 8d1c107
src/search.cpp
@@ -609,8 +609,7 @@ namespace {
609
610
// Can ttValue be used as a better position evaluation?
611
if (ttValue != VALUE_NONE)
612
- if ( ((tte->bound() & BOUND_LOWER) && ttValue > eval)
613
- || ((tte->bound() & BOUND_UPPER) && ttValue < eval))
+ if (tte->bound() & (ttValue > eval ? BOUND_LOWER : BOUND_UPPER))
614
eval = ttValue;
615
}
616
else
0 commit comments