Merge branch 'release/0.6.2'
This commit is contained in:
commit
ade0b78c6f
|
@ -129,10 +129,9 @@ func (h *Heap) Pop() (interface{}, bool) {
|
|||
cidx = c2
|
||||
}
|
||||
} else {
|
||||
|
||||
cidx = c1
|
||||
if c1 < h.size {
|
||||
cvalue1 = h.elements[c1]
|
||||
cidx = c1
|
||||
} else {
|
||||
break
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user