Commit aa6b1d21 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent dc9c0aac
......@@ -376,7 +376,9 @@ func (t *Tree) Delete(k interface{} /*K*/) (ok bool) {
hitPKmax = hitKmax
if x.c < kx && q != t.r {
dbg("UNDERFLOWX\n\tp: %v @%d\n\tx: %v @%d", p, pi, x, i)
x, i, pi = t.underflowX(p, x, pi, i)
dbg("\n\t-> p: %v @%d\n\tx: %v @%d", p, pi, x, i)
// NOTE underflowX changes p which means hit
// Kmin/Kmax/PKmax have to be recomputed
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment