diff options
Diffstat (limited to 'boost/heap/binomial_heap.hpp')
-rw-r--r-- | boost/heap/binomial_heap.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/boost/heap/binomial_heap.hpp b/boost/heap/binomial_heap.hpp index 01ccf3fc8d..a6f75c3aee 100644 --- a/boost/heap/binomial_heap.hpp +++ b/boost/heap/binomial_heap.hpp @@ -516,8 +516,7 @@ public: siftdown(n); - if (n == top_element) - update_top_element(); + update_top_element(); } /** @@ -792,7 +791,6 @@ private: trees.insert(it, *n); } n->add_child(parent); - BOOST_HEAP_ASSERT(parent->child_count() == n->child_count()); } } |