mirror of
https://github.com/tig-foundation/tig-monorepo.git
synced 2026-02-21 10:27:49 +08:00
Handle sampling edge case where there is only solutions.
Some checks are pending
Test Workspace / Test Workspace (push) Waiting to run
Some checks are pending
Test Workspace / Test Workspace (push) Waiting to run
This commit is contained in:
parent
faed37fb63
commit
d5d0fb5f06
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user