summaryrefslogtreecommitdiff
path: root/numpy/lib
diff options
context:
space:
mode:
authorMelissa Weber Mendonça <melissawm@gmail.com>2021-08-17 18:48:53 -0300
committerGitHub <noreply@github.com>2021-08-17 18:48:53 -0300
commit04216da0970380bb9ef3c0437eb98d63bb78b680 (patch)
tree0ee841af817294bfccc6bda042f91c7b61bb31bf /numpy/lib
parent9e1c34eda4569a96fba07ed56fb971dedbb438fa (diff)
parenta562cb2d44760d01a5481280d98248026fabeb40 (diff)
downloadnumpy-04216da0970380bb9ef3c0437eb98d63bb78b680.tar.gz
Merge pull request #19695 from ghilesmeddour/topic/fix_typo
DOC: Fix typo in `unwrap` docstring.
Diffstat (limited to 'numpy/lib')
-rw-r--r--numpy/lib/function_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index 6f19619bb..d875a00ae 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -1512,7 +1512,7 @@ def unwrap(p, discont=None, axis=-1, *, period=2*pi):
difference from their predecessor of more than ``max(discont, period/2)``
to their `period`-complementary values.
- For the default case where `period` is :math:`2\pi` and is `discont` is
+ For the default case where `period` is :math:`2\pi` and `discont` is
:math:`\pi`, this unwraps a radian phase `p` such that adjacent differences
are never greater than :math:`\pi` by adding :math:`2k\pi` for some
integer :math:`k`.