Skip to content

Commit 1054a48

Browse files
committed
Remove an unneeded randomization of evals.
most of the effect comes from the randomization of 3-folds. passed STC: https://tests.stockfishchess.org/tests/view/62e697e97e84186e5d19af6f LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 572976 W: 153168 L: 153539 D: 266269 Ptnml(0-2): 2505, 64783, 152364, 64250, 2586 passed LTC: https://tests.stockfishchess.org/tests/view/62ee5977523c86dcd6957154 LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 704808 W: 191212 L: 191680 D: 321916 Ptnml(0-2): 1340, 70579, 208972, 70235, 1278 closes #4128 Bench: 5868987
1 parent 0a01dd0 commit 1054a48

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/search.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -741,10 +741,6 @@ namespace {
741741
else // Fall back to (semi)classical complexity for TT hits, the NNUE complexity is lost
742742
complexity = abs(ss->staticEval - pos.psq_eg_stm());
743743

744-
// Randomize draw evaluation
745-
if (eval == VALUE_DRAW)
746-
eval = value_draw(thisThread);
747-
748744
// ttValue can be used as a better position evaluation (~4 Elo)
749745
if ( ttValue != VALUE_NONE
750746
&& (tte->bound() & (ttValue > eval ? BOUND_LOWER : BOUND_UPPER)))

0 commit comments

Comments
 (0)