mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 12:47:08 +00:00
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:
+1
-4
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user