Opened 5 years ago
Last modified 5 years ago
#13089 new Bugs
Boost::binomial_heap Sanity check error
Reported by: | Owned by: | timblechmann | |
---|---|---|---|
Milestone: | To Be Determined | Component: | heap |
Version: | Boost 1.64.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Configured with BOOST_HEAP_SANITYCHECKS turned on.
Binomial heap hits an assertion failure (BOOST_HEAP_ASSERT(top_element == found_top)) when pushing nodes with the same priority.
#include "boost/heap/binomial_heap.hpp" typedef boost::heap::binomial_heap<int> Heap; int main(int argc, char* argv[]) { Heap heap0; heap0.push(1); heap0.push(1); }
Attachments (1)
Note:
See TracTickets
for help on using tickets.