diff options
-rw-r--r-- | dimension/parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dimension/parse.c b/dimension/parse.c index c568271..4a8df8b 100644 --- a/dimension/parse.c +++ b/dimension/parse.c @@ -85,7 +85,7 @@ dmnsn_patricia_insert(dmnsn_patricia_trie *trie, ++*value.refcount; while (true) { - if (trie->prefix[0] == '\0'&& !trie->leaf + if (trie->prefix[0] == '\0' && !trie->leaf && dmnsn_array_size(trie->children) == 0) { /* Replace an empty tree with a single-element tree */ |