- Fixed bug #1032, which prevented negative urgency coefficients from working
  for projects and tags.
This commit is contained in:
Paul Beckingham
2012-07-18 06:53:58 -04:00
parent 9a2ab14a34
commit 6a2c047beb
2 changed files with 3 additions and 1 deletions

View File

@@ -1340,7 +1340,7 @@ float Task::urgency_c () const
std::map <std::string, float>::iterator var;
for (var = coefficients.begin (); var != coefficients.end (); ++var)
{
if (var->second > epsilon)
if (fabs (var->second) > epsilon)
{
if (var->first.substr (0, 13) == "urgency.user.")
{