aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-04-28 14:12:17 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-04-28 14:12:17 -0700
commit4a03c700d5391e3fa18f9d9b219936ef5c9eb722 (patch)
tree7b2b11b7f7e2479a7c2e51298d4eaa12bd7a2f71 /include
parentf64f5abd9987903ef75f52473efba4dbdeebf0fc (diff)
struct: tree node children now purely linked list instead of bespoke hybrid
Diffstat (limited to 'include')
-rw-r--r--include/libbio.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/libbio.h b/include/libbio.h
index 4b92587..261c732 100644
--- a/include/libbio.h
+++ b/include/libbio.h
@@ -12,9 +12,8 @@ typedef struct bio·Node
int nchild;
int ndescendent;
struct bio·Node *parent;
- // NOTE: Sibiling allows for polytomies
- struct bio·Node *child[2];
struct bio·Node *sibling;
+ struct bio·Node *child;
} bio·Node;
typedef struct bio·Tree