Skip to content

Commit 824faaa

Browse files
committed
turns out the documentation build doesn't like result_dims changing to result_dim fixes the docs.
1 parent 2fa87cd commit 824faaa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

python/tskit/trees.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10956,7 +10956,7 @@ def two_locus_count_stat(
1095610956
What follows is an example of computing ``D`` from a tree sequence
1095710957
(TODO: cite two-locus docs for more details). We convert counts to
1095810958
proportions, then compute ``D``, returning a numpy array with length
10959-
equal to the number of ``result_dim``s.
10959+
equal to the number of ``result_dim``.
1096010960
1096110961
.. code-block:: python
1096210962
@@ -10982,7 +10982,7 @@ def D(X, n):
1098210982
normalisation function is identical to ``total_norm`` shown in the
1098310983
example below. ``hap_norm`` is required for normalising
1098410984
:math:`r^2`. Both of these examples return a numpy array with length
10985-
equal to the number of ``result_dim``s.
10985+
equal to the number of ``result_dim``.
1098610986
1098710987
.. code-block:: python
1098810988

0 commit comments

Comments
 (0)