diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2021-03-18 17:52:21 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-18 17:52:21 -0600 |
commit | 60cd9d717524e5a003bee9e4270b9c6b8144a7af (patch) | |
tree | d477e167a13f6ddf7e18c9230868b56c33798105 | |
parent | 6304a2779fd15489e4ba818ebe30a3f6b5f14769 (diff) | |
parent | ee296b231dc94f8908b06247e063d2a653de6c7b (diff) | |
download | numpy-60cd9d717524e5a003bee9e4270b9c6b8144a7af.tar.gz |
Merge pull request #18645 from adeak/ufunc_minor_docfix
DOC: Minor fix in inline code example of ufunc reference
-rw-r--r-- | doc/source/reference/ufuncs.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/reference/ufuncs.rst b/doc/source/reference/ufuncs.rst index 06fbe28dd..c919ec9b8 100644 --- a/doc/source/reference/ufuncs.rst +++ b/doc/source/reference/ufuncs.rst @@ -628,8 +628,8 @@ Math operations for large calculations. If your arrays are large, complicated expressions can take longer than absolutely necessary due to the creation and (later) destruction of temporary calculation - spaces. For example, the expression ``G = a * b + c`` is equivalent to - ``t1 = A * B; G = T1 + C; del t1``. It will be more quickly executed + spaces. For example, the expression ``G = A * B + C`` is equivalent to + ``T1 = A * B; G = T1 + C; del T1``. It will be more quickly executed as ``G = A * B; add(G, C, G)`` which is the same as ``G = A * B; G += C``. |