summaryrefslogtreecommitdiff
path: root/doc/source/reference
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2019-12-19 18:08:10 +0200
committerGitHub <noreply@github.com>2019-12-19 18:08:10 +0200
commita9bb517554004cf2ce7a4be93bcbfb63ee149844 (patch)
tree94ccf767fe0a811933a295255554e57a9a8b6d33 /doc/source/reference
parent3cf092bb872257efb47a814ab3fb8e0bfd8f61b4 (diff)
parent0c2a5eb42c0cddf6844880f1494ddf7765bf9c7b (diff)
downloadnumpy-a9bb517554004cf2ce7a4be93bcbfb63ee149844.tar.gz
Merge pull request #15129 from bwignall/typo_leven
DOC: Fix typos, via a Levenshtein-style corrector
Diffstat (limited to 'doc/source/reference')
-rw-r--r--doc/source/reference/c-api/coremath.rst4
-rw-r--r--doc/source/reference/random/legacy.rst2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/reference/c-api/coremath.rst b/doc/source/reference/c-api/coremath.rst
index 7e00322f9..4200f4ba8 100644
--- a/doc/source/reference/c-api/coremath.rst
+++ b/doc/source/reference/c-api/coremath.rst
@@ -193,7 +193,7 @@ Those can be useful for precise floating point comparison.
.. c:function:: int npy_get_floatstatus_barrier(char*)
Get floating point status. A pointer to a local variable is passed in to
- prevent aggressive compiler optimizations from reodering this function call
+ prevent aggressive compiler optimizations from reordering this function call
relative to the code setting the status, which could lead to incorrect
results.
@@ -219,7 +219,7 @@ Those can be useful for precise floating point comparison.
.. c:function:: int npy_clear_floatstatus_barrier(char*)
Clears the floating point status. A pointer to a local variable is passed in to
- prevent aggressive compiler optimizations from reodering this function call.
+ prevent aggressive compiler optimizations from reordering this function call.
Returns the previous status mask.
.. versionadded:: 1.15.0
diff --git a/doc/source/reference/random/legacy.rst b/doc/source/reference/random/legacy.rst
index 922d76a9a..91b91dac8 100644
--- a/doc/source/reference/random/legacy.rst
+++ b/doc/source/reference/random/legacy.rst
@@ -125,7 +125,7 @@ Distributions
Functions in `numpy.random`
===========================
Many of the RandomState methods above are exported as functions in
-`numpy.random` This usage is discouraged, as it is implemented via a gloabl
+`numpy.random` This usage is discouraged, as it is implemented via a global
`RandomState` instance which is not advised on two counts:
- It uses global state, which means results will change as the code changes