diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system/avltree.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/avltree.nim b/lib/system/avltree.nim index 892ee571d..50faada26 100644 --- a/lib/system/avltree.nim +++ b/lib/system/avltree.nim @@ -52,7 +52,7 @@ proc split(t: var PAvlNode) = inc t.level proc add(a: var MemRegion, t: var PAvlNode, key, upperBound: int) {.benign.} = - if t == bottom: + if t.isBottom: t = allocAvlNode(a, key, upperBound) else: if key <% t.key: |