diff options
Diffstat (limited to 'lib/FHeap.cc')
-rw-r--r-- | lib/FHeap.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/FHeap.cc b/lib/FHeap.cc index f8a206f..9f3dc24 100644 --- a/lib/FHeap.cc +++ b/lib/FHeap.cc @@ -82,8 +82,7 @@ void FHeap::Dump(ostream & os) } else { for (i = 1; i <= d; i++) os << " |"; - os << (Child ? "_ " : "__ ") << Key << " (" << Degree << - ")\n"; + os << (Child ? "_ " : "__ ") << Key << " (" << Degree << ")\n"; } if (Child) { d++; @@ -121,16 +120,15 @@ int FHeap::rn(void) return n; } -FHeap::FHeap(void):Father(NULL), Child(NULL), Left(this), Right(this), -Degree(-1), Mark(false) +FHeap::FHeap(void):Father(NULL), Child(NULL), Left(this), Right(this), Degree(-1), Mark(false) { - type = T_FHEAP; + type = T_FHEAP; } FHeap::FHeap(Key_t IKey, Datas_t const &IDatas):PriorityList(IKey, IDatas), Father(NULL), Child(NULL), Left(this), Right(this), Degree(0), Mark(false) { - type =T_FHEAP; + type = T_FHEAP; #ifdef DEBUG nc++; #endif |