Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
krangelov committed Sep 21, 2024
1 parent b86097a commit db58a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/c/pgf/namespace.h
Original file line number Diff line number Diff line change
Expand Up @@ -615,8 +615,8 @@ ref<V> namespace_lookup_index(Namespace<V> map, PgfText *name, size_t *pIndex)
if (cmp < 0) {
map = map->left;
} else if (cmp > 0) {
map = map->right;
*pIndex += Node<ref<V>>::size(map->left)+1;
map = map->right;
} else {
*pIndex += Node<ref<V>>::size(map->left);
return map->value;
Expand Down

0 comments on commit db58a4e

Please sign in to comment.