diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-09-24 02:52:16 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-09-24 02:52:16 +0200 |
commit | ffb812521da02f19c05452b9498615159d53557d (patch) | |
tree | 8caf74e20a5fc4c29938205ad54f059634fe1631 /lib/system/avltree.nim | |
parent | 2569a58f0859c5a6335ddea88f3752bcc2238d45 (diff) | |
download | Nim-ffb812521da02f19c05452b9498615159d53557d.tar.gz |
fixes serious regression
Diffstat (limited to 'lib/system/avltree.nim')
-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: |