mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 05:07:46 +00:00
Simplify away capthist bonus in Probcut
The explicit bonus has been obsoleted with the introduction of #5695 Passed Non-regression STC: LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 132832 W: 34519 L: 34403 D: 63910 Ptnml(0-2): 430, 15754, 33931, 15872, 429 https://tests.stockfishchess.org/tests/view/678158c49168c8bf30927834 Passed Non-regression LTC: LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 123492 W: 31426 L: 31309 D: 60757 Ptnml(0-2): 79, 13705, 34051, 13842, 69 https://tests.stockfishchess.org/tests/view/6782b07e6ddf09c0b4b6dbb7 closes https://github.com/official-stockfish/Stockfish/pull/5761 Bench: 1180439
This commit is contained in:
@@ -861,7 +861,6 @@ Value Search::Worker::search(
|
|||||||
assert(probCutBeta < VALUE_INFINITE && probCutBeta > beta);
|
assert(probCutBeta < VALUE_INFINITE && probCutBeta > beta);
|
||||||
|
|
||||||
MovePicker mp(pos, ttData.move, probCutBeta - ss->staticEval, &thisThread->captureHistory);
|
MovePicker mp(pos, ttData.move, probCutBeta - ss->staticEval, &thisThread->captureHistory);
|
||||||
Piece captured;
|
|
||||||
|
|
||||||
while ((move = mp.next_move()) != Move::none())
|
while ((move = mp.next_move()) != Move::none())
|
||||||
{
|
{
|
||||||
@@ -875,10 +874,6 @@ Value Search::Worker::search(
|
|||||||
|
|
||||||
assert(pos.capture_stage(move));
|
assert(pos.capture_stage(move));
|
||||||
|
|
||||||
movedPiece = pos.moved_piece(move);
|
|
||||||
captured = pos.piece_on(move.to_sq());
|
|
||||||
|
|
||||||
|
|
||||||
// Prefetch the TT entry for the resulting position
|
// Prefetch the TT entry for the resulting position
|
||||||
prefetch(tt.first_entry(pos.key_after(move)));
|
prefetch(tt.first_entry(pos.key_after(move)));
|
||||||
|
|
||||||
@@ -903,8 +898,6 @@ Value Search::Worker::search(
|
|||||||
|
|
||||||
if (value >= probCutBeta)
|
if (value >= probCutBeta)
|
||||||
{
|
{
|
||||||
thisThread->captureHistory[movedPiece][move.to_sq()][type_of(captured)] << 1226;
|
|
||||||
|
|
||||||
// Save ProbCut data into transposition table
|
// Save ProbCut data into transposition table
|
||||||
ttWriter.write(posKey, value_to_tt(value, ss->ply), ss->ttPv, BOUND_LOWER,
|
ttWriter.write(posKey, value_to_tt(value, ss->ply), ss->ttPv, BOUND_LOWER,
|
||||||
depth - 3, move, unadjustedStaticEval, tt.generation());
|
depth - 3, move, unadjustedStaticEval, tt.generation());
|
||||||
|
|||||||
Reference in New Issue
Block a user