Skip to content

Commit

Permalink
Fixed C-API bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromekelleher committed Jun 24, 2016
1 parent 50d725d commit f7497c4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions _msprimemodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -2463,8 +2463,9 @@ static PyMethodDef TreeSequence_methods[] = {
"Returns the sample size" },
{"get_population", (PyCFunction) TreeSequence_get_population, METH_VARARGS,
"Returns the population associated with the specified node." },
{"get_pairwise_diversity", (PyCFunction) TreeSequence_get_pairwise_diversity,
METH_VARARGS, "Returns the average pairwise diversity." },
{"get_pairwise_diversity",
(PyCFunction) TreeSequence_get_pairwise_diversity,
METH_VARARGS|METH_KEYWORDS, "Returns the average pairwise diversity." },
{"get_simulation_parameters",
(PyCFunction) TreeSequence_get_simulation_parameters, METH_NOARGS,
"Returns the simulation parameters encoded as JSON." },
Expand Down

0 comments on commit f7497c4

Please sign in to comment.