Skip to content

Commit 23442b5

Browse files
authored
Update documentation for diversity and divergence (#3328)
minor edit as I spotted this yesterday
1 parent 488b02b commit 23442b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/tskit/trees.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9929,7 +9929,7 @@ def Tajimas_D(self, sample_sets=None, windows=None, mode="site"):
99299929
b = 2 * (n**2 + n + 3) / (9 * n * (n - 1)) - (n + 2) / (h * n) + g / h**2
99309930
c = h**2 + g
99319931
9932-
What is computed for diversity and divergence depends on ``mode``;
9932+
What is computed for diversity and segregating sites depends on ``mode``;
99339933
see those functions for more details.
99349934
99359935
:param list sample_sets: A list of lists of Node IDs, specifying the

0 commit comments

Comments
 (0)