Skip to content

Commit abb136c

Browse files
WarrenWeckessermelissawm
authored andcommitted
DOC: Fix math formatting for zipf docstring
1 parent fd78f1f commit abb136c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

numpy/random/_generator.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3137,7 +3137,7 @@ cdef class Generator:
31373137
31383138
.. math:: p(k) = \\frac{k^{-a}}{\\zeta(a)},
31393139
3140-
for integers ``k`` >= 1, where :math:`\\zeta` is the Riemann Zeta
3140+
for integers :math:`k \geq 1`, where :math:`\\zeta` is the Riemann Zeta
31413141
function.
31423142
31433143
It is named for the American linguist George Kingsley Zipf, who noted

numpy/random/mtrand.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3644,7 +3644,7 @@ cdef class RandomState:
36443644
36453645
.. math:: p(k) = \\frac{k^{-a}}{\\zeta(a)},
36463646
3647-
for integers ``k`` >= 1, where :math:`\\zeta` is the Riemann Zeta
3647+
for integers :math:`k \geq 1`, where :math:`\\zeta` is the Riemann Zeta
36483648
function.
36493649
36503650
It is named for the American linguist George Kingsley Zipf, who noted

0 commit comments

Comments
 (0)