mirror of https://github.com/BOINC/boinc.git
Forgot that dtime() returns double with high precision time.
svn path=/trunk/boinc/; revision=5977
This commit is contained in:
parent
dcd67f62c3
commit
2c917cd32d
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue