aboutsummaryrefslogtreecommitdiff
path: root/sys/libbio/phylo.c
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-04-28 21:31:01 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-04-28 21:31:01 -0700
commit86134ccf82dcafe338e68c14e483ec98cfc94925 (patch)
treea5bae880fcd03e8de6393988ce5f6f2317eb9004 /sys/libbio/phylo.c
parenta48e7f9fd525b4da828605fb7be4d2a35dde4e23 (diff)
struct: preparing for prototype of math library
Diffstat (limited to 'sys/libbio/phylo.c')
-rw-r--r--sys/libbio/phylo.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/libbio/phylo.c b/sys/libbio/phylo.c
index 4a4bcb1..4bb8f66 100644
--- a/sys/libbio/phylo.c
+++ b/sys/libbio/phylo.c
@@ -205,3 +205,17 @@ phylo·reroot(bio·Tree *tree, bio·Node *node, double d)
tree->root = new;
return 0;
}
+
+// -----------------------------------------------------------------------
+// ancestral inference
+
+struct phylo·InferOpts
+{
+ int nstates;
+ double *Q;
+};
+
+error
+phylo·ancestralinfer(bio·Tree *tree, struct phylo·InferOpts opts)
+{
+}