summaryrefslogtreecommitdiff
path: root/numpy/random/src
diff options
context:
space:
mode:
authorMalikIdreesHasanKhan <77000356+MalikIdreesHasanKhan@users.noreply.github.com>2021-10-01 14:21:27 +0530
committerGitHub <noreply@github.com>2021-10-01 11:51:27 +0300
commitc4b0b9d898ff958dcaa422e9fc6d554eafb284d5 (patch)
tree2e07a576254b82f5251d5330b895ba88bf606d0a /numpy/random/src
parent524cb10a35a3d16a4e196bad105db2acc4eb33ca (diff)
downloadnumpy-c4b0b9d898ff958dcaa422e9fc6d554eafb284d5.tar.gz
DOC: Fix typos in the random and f2py documentation. (#20004)
* Fix typos
Diffstat (limited to 'numpy/random/src')
-rw-r--r--numpy/random/src/distributions/random_hypergeometric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/src/distributions/random_hypergeometric.c b/numpy/random/src/distributions/random_hypergeometric.c
index 0da49bd62..d8510bfca 100644
--- a/numpy/random/src/distributions/random_hypergeometric.c
+++ b/numpy/random/src/distributions/random_hypergeometric.c
@@ -155,7 +155,7 @@ static int64_t hypergeometric_hrua(bitgen_t *bitgen_state,
c = sqrt(var + 0.5);
/*
- * h is 2*s_hat (See Stadlober's theses (1989), Eq. (5.17); or
+ * h is 2*s_hat (See Stadlober's thesis (1989), Eq. (5.17); or
* Stadlober (1990), Eq. 8). s_hat is the scale of the "table mountain"
* function that dominates the scaled hypergeometric PMF ("scaled" means
* normalized to have a maximum value of 1).