aboutsummaryrefslogtreecommitdiff
path: root/sys/libbio/test.c
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-04-28 14:50:38 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-04-28 14:50:38 -0700
commit3ef4582ce52d89a7ac576b0f0c517773112a171c (patch)
tree37454fd6af68898e4dc78c6998b75fa526672464 /sys/libbio/test.c
parent9fd30c9e0ec9c5716b8cb7b8896318178d4b08bd (diff)
fix: moved nnodes into a property of node
Diffstat (limited to 'sys/libbio/test.c')
-rw-r--r--sys/libbio/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/libbio/test.c b/sys/libbio/test.c
index 2efcdb6..baccd42 100644
--- a/sys/libbio/test.c
+++ b/sys/libbio/test.c
@@ -111,7 +111,7 @@ test·newick()
err = bio·readnewick(rdr, fd[0], al, mem, &t);
phylo·ladderize(t.root);
- printf("Loaded tree with %d leafs and %d nodes\n", t.nleaf, t.nnode);
+ printf("Loaded tree with %d leafs and %d nodes\n", t.nleaf, t.root->nnode);
err = bio·writenewick(t, wtr, fd[1]);
io·flush(fd[1]);