svn path=/trunk/boinc/; revision=5979
This commit is contained in:
Bruce Allen 2005-04-29 19:31:02 +00:00
parent f8de417987
commit 44b8232bc4
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ function update_average($now, $work_start_time, $work, &$avg, &$avg_time) {
$avg += (1.0-$weight)*($work/$diff_days);
}
else {
$avg += M_LN2*work*86400/CREDIT_HALF_LIFE;
$avg += M_LN2*$work*86400/CREDIT_HALF_LIFE;
}
} else if ($work) {
$dd = ($now - $work_start_time)/86400;