diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-04-28 16:32:06 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-04-28 16:32:06 -0700 |
commit | a48e7f9fd525b4da828605fb7be4d2a35dde4e23 (patch) | |
tree | 51b7def97deeaa70c8003225fabd2bb62a1101f4 /sys/libbio/io | |
parent | a6d9c8be245ef171423ddeb8466a27ad715012e0 (diff) |
feat: prototype of rerooting function
Diffstat (limited to 'sys/libbio/io')
-rw-r--r-- | sys/libbio/io/newick.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/libbio/io/newick.c b/sys/libbio/io/newick.c index cc6d3ff..038b41c 100644 --- a/sys/libbio/io/newick.c +++ b/sys/libbio/io/newick.c @@ -329,7 +329,7 @@ ERROR: } error -bio·readnewick(io·Peeker stream, void *s, mem·Allocator heap, void *h, bio·Tree *tree) +bio·readnewick(io·Peeker stream, void *s, bio·Tree *tree) { error err; struct Parser p; @@ -350,8 +350,8 @@ bio·readnewick(io·Peeker stream, void *s, mem·Allocator heap, void *h, bio·T .tok = (struct Token){ 0 }, .fimpl = s, .file = stream, - .himpl = h, - .heap = heap, + .himpl = tree->h, + .heap = tree->heap, }; err = parse(&p); if (err) { |