fix weighting calc for expedite

SVN revision: 63055
This commit is contained in:
Carsten Haitzler 2011-09-01 12:36:19 +00:00
parent a0de575d9f
commit 3889c081cd
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ _ui_all(void)
key_func("Escape");
}
for (i = 1;
(i < ((sizeof(weights) / sizeof(double)) - 1)) &&
(i < (1 + t_count)) &&
(weights[i] > 0.0);
i++)
avgw += weights[i];