From 6a477d5610b052ce7df31c02c053e6b540f3ffc8 Mon Sep 17 00:00:00 2001 From: Joost VandeVondele Date: Sun, 24 May 2026 14:15:58 +0200 Subject: [PATCH] Unblock CI this assert, introduced at https://github.com/official-stockfish/Stockfish/commit/319d61effdad40ac633425d6504a98f6d2ad0cd2 , can fail in a multi-threading setup. Fixing this is tracked at https://github.com/official-stockfish/Stockfish/issues/6847 closes https://github.com/official-stockfish/Stockfish/pull/6848 No functional change --- src/tt.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/tt.cpp b/src/tt.cpp index 7f7c5ab4e..527096a5c 100644 --- a/src/tt.cpp +++ b/src/tt.cpp @@ -138,10 +138,7 @@ void TTWriter::write( entry->save(k, v, pv, b, d, m, ev, curr_generation); } -void TTWriter::penalize(int penalty) { - assert(entry->depth8 + DEPTH_NONE > penalty); - entry->depth8 -= penalty; -} +void TTWriter::penalize(int penalty) { entry->depth8 -= penalty; } // A TranspositionTable is an array of Cluster, of size clusterCount. Each cluster consists of ClusterSize number