Handle sampling edge case where there is only solutions.
Some checks are pending
Test Workspace / Test Workspace (push) Waiting to run

This commit is contained in:
FiveMovesAhead 2025-11-26 16:37:35 +00:00
parent faed37fb63
commit d5d0fb5f06

View File

@ -264,6 +264,9 @@ pub async fn submit_benchmark<T: Context>(
}
}
};
if end == 0 {
continue;
}
let idx = rng.gen_range(0..end);
lt_average_samples.insert(bundle[idx].0 as u64);
}