Fix urgency inheritance for negative-urgency tasks
This commit is contained in:
committed by
Tomas Babej
parent
8c3aa95224
commit
c3bb3810be
@@ -2141,7 +2141,7 @@ float Task::urgency ()
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
float Task::urgency_inherit () const
|
||||
{
|
||||
float v = FLT_MIN;
|
||||
float v = -FLT_MAX;
|
||||
#ifdef PRODUCT_TASKWARRIOR
|
||||
// Calling getBlockedTasks is rather expensive.
|
||||
// It is called recursively for each dependency in the chain here.
|
||||
|
||||
Reference in New Issue
Block a user