summaryrefslogtreecommitdiff
path: root/numpy/fft
diff options
context:
space:
mode:
authorChunlin <fangchunlin@huawei.com>2020-04-25 23:33:48 +0800
committerGitHub <noreply@github.com>2020-04-25 10:33:48 -0500
commit6ee49178517088966e63c2aedf6a8a5779ad5384 (patch)
tree8ea96ee9757724dfb590bf359a90cd2c75196331 /numpy/fft
parent6d6df47fefdc503fbcffd8cb14a5daaa956ef220 (diff)
downloadnumpy-6ee49178517088966e63c2aedf6a8a5779ad5384.tar.gz
DOC: Add missing bracket (gh-16051)
Add missing closing brackets, script to generate the list in the PR gh-16051.
Diffstat (limited to 'numpy/fft')
-rw-r--r--numpy/fft/_pocketfft.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/fft/_pocketfft.py b/numpy/fft/_pocketfft.py
index 3eab242e5..e9f554fe7 100644
--- a/numpy/fft/_pocketfft.py
+++ b/numpy/fft/_pocketfft.py
@@ -524,8 +524,8 @@ def hfft(a, n=None, axis=-1, norm=None):
domain and is real in the frequency domain. So here it's `hfft` for
which you must supply the length of the result if it is to be odd.
- * even: ``ihfft(hfft(a, 2*len(a) - 2) == a``, within roundoff error,
- * odd: ``ihfft(hfft(a, 2*len(a) - 1) == a``, within roundoff error.
+ * even: ``ihfft(hfft(a, 2*len(a) - 2)) == a``, within roundoff error,
+ * odd: ``ihfft(hfft(a, 2*len(a) - 1)) == a``, within roundoff error.
The correct interpretation of the hermitian input depends on the length of
the original data, as given by `n`. This is because each input shape could
@@ -604,8 +604,8 @@ def ihfft(a, n=None, axis=-1, norm=None):
domain and is real in the frequency domain. So here it's `hfft` for
which you must supply the length of the result if it is to be odd:
- * even: ``ihfft(hfft(a, 2*len(a) - 2) == a``, within roundoff error,
- * odd: ``ihfft(hfft(a, 2*len(a) - 1) == a``, within roundoff error.
+ * even: ``ihfft(hfft(a, 2*len(a) - 2)) == a``, within roundoff error,
+ * odd: ``ihfft(hfft(a, 2*len(a) - 1)) == a``, within roundoff error.
Examples
--------