change set_progress to set_percent

This commit is contained in:
james 2006-10-25 01:48:32 +00:00
parent f687e4d889
commit cf1bf2cf9d

View File

@ -76,7 +76,7 @@ function set_status($txt)
var='judge_scheduler_activity' AND year=0"); var='judge_scheduler_activity' AND year=0");
} }
function set_progress($n) function set_percent($n)
{ {
$p = floor($n); $p = floor($n);
TRACE("Progress: $p\%\n"); TRACE("Progress: $p\%\n");
@ -86,7 +86,7 @@ function set_progress($n)
} }
set_status("Initializing..."); set_status("Initializing...");
set_progress(0); set_percent(0);
/* The cost function is: /* The cost function is:
+ 50 * each judge below the min for each team + 50 * each judge below the min for each team