- urgency.blocked.coefficient logic was inverted.
This commit is contained in:
Paul Beckingham 2011-04-08 00:39:08 -04:00
parent 14b184089d
commit 40b2258589
2 changed files with 4 additions and 2 deletions

View file

@ -928,8 +928,8 @@ double Task::urgency ()
coefficient = context.config.getReal ("urgency.blocked.coefficient");
value = get ("depends");
if (value != "") term = 0.0;
else term = 1.0;
if (value != "") term = 1.0;
else term = 0.0;
urgency += term * coefficient;