diff --git a/regressions/ck_cohort/validate/validate.c b/regressions/ck_cohort/validate/validate.c index 5cffc65..67188f0 100644 --- a/regressions/ck_cohort/validate/validate.c +++ b/regressions/ck_cohort/validate/validate.c @@ -62,7 +62,7 @@ thread(void *null CK_CC_UNUSED) exit(EXIT_FAILURE); } - cohort = cohorts + core % n_cohorts; + cohort = cohorts + (core / (int)ck_pr_load_uint(&a.delta)) % n_cohorts; while (i--) { ck_cohort_fas_fas_lock(cohort);