Skip to content

Commit f161261

Browse files
Vizvezdenecvondele
authored andcommitted
Adjust history usage in moves loop pruning
After experiments with conthist 5 addition failed really bad divions by 2 passed as a gainer. Passed STC: https://tests.stockfishchess.org/tests/view/6636d7114b68b70d858035ce LLR: 2.94 (-2.94,2.94) <0.00,2.00> Total: 35936 W: 9287 L: 8976 D: 17673 Ptnml(0-2): 81, 4129, 9234, 4446, 78 Passed LTC: https://tests.stockfishchess.org/tests/view/6636ddb64b68b70d858040a8 LLR: 2.95 (-2.94,2.94) <0.50,2.50> Total: 82428 W: 21035 L: 20622 D: 40771 Ptnml(0-2): 29, 8985, 22775, 9394, 31 closes #5217 Bench: 2309253
1 parent 6da1590 commit f161261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/search.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ Value Search::Worker::search(
991991
int history =
992992
(*contHist[0])[movedPiece][move.to_sq()]
993993
+ (*contHist[1])[movedPiece][move.to_sq()]
994-
+ (*contHist[3])[movedPiece][move.to_sq()]
994+
+ (*contHist[3])[movedPiece][move.to_sq()] / 2
995995
+ thisThread->pawnHistory[pawn_structure_index(pos)][movedPiece][move.to_sq()];
996996

997997
// Continuation history based pruning (~2 Elo)

0 commit comments

Comments
 (0)