From bc39e019189e6fe591366ac59d658b9f0aa8ba47 Mon Sep 17 00:00:00 2001 From: Gertjan Bisschop <32430503+GertjanBisschop@users.noreply.github.com> Date: Wed, 22 Jun 2022 09:38:14 +0100 Subject: [PATCH] Change type of num_children array in docstring Docstring did not reflect the changes in #2337. --- python/tskit/trees.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tskit/trees.py b/python/tskit/trees.py index f3de2208a2..3e31aa4db3 100644 --- a/python/tskit/trees.py +++ b/python/tskit/trees.py @@ -1185,7 +1185,7 @@ def right_sib_array(self): @property def num_children_array(self): """ - A numpy array (dtype=np.uint64) encoding the number of children of + A numpy array (dtype=np.int32) encoding the number of children of each node in this tree, such that ``tree.num_children_array[u] == tree.num_children(u)`` for all ``0 <= u <= ts.num_nodes``. See the :meth:`~.num_children`