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
This commit is contained in:
Joost VandeVondele
2026-05-24 14:15:58 +02:00
parent 133731f331
commit 6a477d5610
+1 -4
View File
@@ -138,10 +138,7 @@ void TTWriter::write(
entry->save(k, v, pv, b, d, m, ev, curr_generation); entry->save(k, v, pv, b, d, m, ev, curr_generation);
} }
void TTWriter::penalize(int penalty) { void TTWriter::penalize(int penalty) { entry->depth8 -= penalty; }
assert(entry->depth8 + DEPTH_NONE > penalty);
entry->depth8 -= penalty;
}
// A TranspositionTable is an array of Cluster, of size clusterCount. Each cluster consists of ClusterSize number // A TranspositionTable is an array of Cluster, of size clusterCount. Each cluster consists of ClusterSize number