forked from science-ation/science-ation
change set_progress to set_percent
This commit is contained in:
parent
f687e4d889
commit
cf1bf2cf9d
@ -76,7 +76,7 @@ function set_status($txt)
|
||||
var='judge_scheduler_activity' AND year=0");
|
||||
}
|
||||
|
||||
function set_progress($n)
|
||||
function set_percent($n)
|
||||
{
|
||||
$p = floor($n);
|
||||
TRACE("Progress: $p\%\n");
|
||||
@ -86,7 +86,7 @@ function set_progress($n)
|
||||
}
|
||||
|
||||
set_status("Initializing...");
|
||||
set_progress(0);
|
||||
set_percent(0);
|
||||
|
||||
/* The cost function is:
|
||||
+ 50 * each judge below the min for each team
|
||||
|
Loading…
Reference in New Issue
Block a user