diff --git a/admin/judges_schedulerconfig_check.inc.php b/admin/judges_schedulerconfig_check.inc.php index 9757128..6200b0a 100644 --- a/admin/judges_schedulerconfig_check.inc.php +++ b/admin/judges_schedulerconfig_check.inc.php @@ -102,6 +102,7 @@ function judges_scheduler_check_judges() $jdiv_id = $keys[$k]; $c = $jdiv[$jdiv_id]['num_projects']; $t=ceil($c/$data['max_projects_per_team']*$data['times_judged']); + if($t < $data['times_judged']) $t = $data['times_judged']; $jdiv[$jdiv_id]['num_jteams'] = $t; $totalteams+=$t;