Skip to content

Commit 3073d82

Browse files
xu-shawnvondele
authored andcommitted
Simplify use of low-ply history in evasions
Passed Non-regression STC: LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 65024 W: 16991 L: 16804 D: 31229 Ptnml(0-2): 182, 7423, 17119, 7602, 186 https://tests.stockfishchess.org/tests/view/68c23f5459efc3c96b6113df Passed Non-regression LTC: LLR: 2.96 (-2.94,2.94) <-1.75,0.25> Total: 207312 W: 53126 L: 53095 D: 101091 Ptnml(0-2): 126, 21986, 59389, 22041, 114 https://tests.stockfishchess.org/tests/view/68c241e359efc3c96b6113ef closes #6308 Bench: 2515619
1 parent c62e71e commit 3073d82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/movepick.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ ExtMove* MovePicker::score(MoveList<Type>& ml) {
188188
{
189189
m.value = (*mainHistory)[us][m.from_to()] + (*continuationHistory[0])[pc][to];
190190
if (ply < LOW_PLY_HISTORY_SIZE)
191-
m.value += 2 * (*lowPlyHistory)[ply][m.from_to()] / (1 + ply);
191+
m.value += 2 * (*lowPlyHistory)[ply][m.from_to()];
192192
}
193193
}
194194
}

0 commit comments

Comments
 (0)