Skip to content

Commit c76c179

Browse files
ErgodiceDisservin
authored andcommitted
Remove non-functional std::min()
closes #5749 No functional change
1 parent 1611b9c commit c76c179

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/search.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@ Value Search::Worker::search(
11601160

11611161
r += 330;
11621162

1163-
r -= std::min(std::abs(correctionValue) / 32768, 2048);
1163+
r -= std::abs(correctionValue) / 32768;
11641164

11651165
// Increase reduction for cut nodes (~4 Elo)
11661166
if (cutNode)

0 commit comments

Comments
 (0)