Fixed B-tree rendering in dbgmtree.py, unexpected arg

Rbyd.btree_btree renders B-trees, not rbyds, the rbyd arg doesn't make
sense here. This was just an accidental refactor mistake.
This commit is contained in:
Christopher Haster
2024-05-31 16:34:36 -05:00
parent b5370d6001
commit bb3ef46cdf

View File

@@ -1273,8 +1273,7 @@ def main(disk, mroots=None, *,
tree_, tdepth = mtree.btree_btree(
f, block_size,
depth=args.get('depth', mdepth)-mdepth,
inner=args.get('inner'),
rbyd=args.get('rbyd'))
inner=args.get('inner'))
# connect a branch to the root of the tree
root = min(tree_, key=lambda branch: branch.d, default=None)