summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorbiouman <>2001-03-05 14:50:18 +0000
committerbiouman <>2001-03-05 14:50:18 +0000
commitcd61178eb1d3b9182f4fcb64cc8eee61971405a8 (patch)
treee0c0cd481749e2b8327cfb89c0fdb24a53fe935b /lib
parentdeb75e32768c82d2945427d558f73c64c4c2f72d (diff)
Bug en moins
Diffstat (limited to 'lib')
-rw-r--r--lib/BHeap.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/BHeap.cc b/lib/BHeap.cc
index 89d6f0f..1dfe6de 100644
--- a/lib/BHeap.cc
+++ b/lib/BHeap.cc
@@ -289,6 +289,7 @@ Key_t BHeap::Extract_Min(Datas_t & Datas)
// 3. inverser l'ordre de la liste chaînée des fils de x,
// et faire pointer tête[T'] sur la tête de la liste résultante.
for (P = y->Child; P;) {
+ P->Father = NULL;
P2 = Before->Brother;
P3 = P->Brother;
Before->Brother = P;