3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-22 16:45:31 +00:00
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2018-06-28 13:53:38 -07:00
parent c986dfe97b
commit fd8f972cac

View file

@ -20,7 +20,7 @@ Revision History:
#include "util/vector.h"
#include "util/lp/binary_heap_priority_queue.h"
namespace lp {
// is is the child place in heap
// "i" is the child's place in the heap
template <typename T> void binary_heap_priority_queue<T>::swap_with_parent(unsigned i) {
unsigned parent = m_heap[i >> 1];
put_at(i >> 1, m_heap[i]);