Forgot that dtime() returns double with high precision time.

svn path=/trunk/boinc/; revision=5977
This commit is contained in:
Bruce Allen 2005-04-29 17:44:08 +00:00
parent dcd67f62c3
commit 2c917cd32d
1 changed files with 1 additions and 1 deletions

View File

@ -799,7 +799,7 @@ void update_average(
avg *= weight;
if (diff>0) {
if ((1.0-weight) > 1.e-6) {
avg += (1-weight)*(work/diff_days);
}
else {