fixes serious regression
This commit is contained in:
parent
2569a58f08
commit
ffb812521d
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ proc split(t: var PAvlNode) =
|
||||||
inc t.level
|
inc t.level
|
||||||
|
|
||||||
proc add(a: var MemRegion, t: var PAvlNode, key, upperBound: int) {.benign.} =
|
proc add(a: var MemRegion, t: var PAvlNode, key, upperBound: int) {.benign.} =
|
||||||
if t == bottom:
|
if t.isBottom:
|
||||||
t = allocAvlNode(a, key, upperBound)
|
t = allocAvlNode(a, key, upperBound)
|
||||||
else:
|
else:
|
||||||
if key <% t.key:
|
if key <% t.key:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue