Add he min teams requirement to the check too, not just the scheduler

This commit is contained in:
dave 2006-08-11 20:17:30 +00:00
parent 14e93e0c12
commit 7451483ddf

View File

@ -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;