fix(parameters): don't lie in test, do as comment implies

This commit is contained in:
Julian Oes
2026-03-02 17:46:27 +13:00
parent e8f2b2763b
commit 01d894140b
@@ -150,7 +150,7 @@ TEST_F(DynamicSparseLayerConcurrentTest, ConcurrentMultipleWriters)
constexpr int TOTAL = NUM_WRITERS * PARAMS_PER_WRITER;
for (int rep = 0; rep < 20; rep++) {
DynamicSparseLayer layer(&stub, /*n_prealloc=*/2, /*n_grow=*/1);
DynamicSparseLayer layer(&stub, /*n_prealloc=*/TOTAL, /*n_grow=*/1);
std::vector<std::thread> writers;