summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2009-04-08 19:13:04 -0700
committerDaniel Burrows <dburrows@debian.org>2009-04-08 19:13:04 -0700
commitf051edee39f81bf80014f40ab0c482631ec68b5a (patch)
tree3620aada7615cf6f2ed53450029c0ee7f5f4c671 /tools
parentf899f48dd6f004b42b992900b026bf9530e1ce17 (diff)
downloadaptitude-f051edee39f81bf80014f40ab0c482631ec68b5a.tar.gz
Don't make newly generated backpropagations strict in their step parameter.
This led to an infinite loop if there were any backpropagations (since the step parameter closes a cycle).
Diffstat (limited to 'tools')
-rw-r--r--tools/resolver-visualize/Resolver/Log.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/resolver-visualize/Resolver/Log.hs b/tools/resolver-visualize/Resolver/Log.hs
index 2d8942c8..87b8b9c4 100644
--- a/tools/resolver-visualize/Resolver/Log.hs
+++ b/tools/resolver-visualize/Resolver/Log.hs
@@ -691,8 +691,8 @@ extractProcessingSteps partialSteps =
findBackpropagation :: (Solution, Promotion) -> Backpropagation
findBackpropagation (sol, p) =
case Map.lookup sol stepMap of
- Just step -> step `seq` p `seq` Backpropagation { backpropagationStep = step,
- backpropagationPromotion = p }
+ Just step -> p `seq` Backpropagation { backpropagationStep = step,
+ backpropagationPromotion = p }
Nothing -> error $ "No match for the solution " ++ show sol ++ " when adding the backpropagated promotion " ++ show p
-- How to build an output step from an input step. This is