Merge branch 'main' of gitea.yuhangq.com:YuhangQ/cloud-sat into main

This commit is contained in:
YuhangQ 2023-04-20 13:02:43 +08:00
commit 2f67cca6ed

View File

@ -72,7 +72,7 @@ void light::diversity_workers() {
if(worker_type == SAT) {
if (OPT(shuffle)) {
if (i) workers[i]->configure("order_reset", i);
if (i) workers[i]->configure("order_reset", (rank - 1) * OPT(threads) + i);
}
workers[i]->configure("stable", 1);