diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/BHeap.cc | 1 |
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; |