summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2014-02-24 18:38:21 -0700
committerCharles Harris <charlesr.harris@gmail.com>2014-02-24 18:38:21 -0700
commit9573f78c274933e3fead0ce0e976d015764d585b (patch)
treecb6863f1f497dfc3d2f95d90a6a230f400fd8c6d /numpy
parentb5c62f81a2dd8af8f8d507eb990d5f4efc77ee5f (diff)
parentf8bcb8802af1b5ba5b4c9a67109095e8072a041a (diff)
downloadnumpy-9573f78c274933e3fead0ce0e976d015764d585b.tar.gz
Merge pull request #4362 from njsmith/master
[DOC] Fix small inaccuracy in broadcasting docs
Diffstat (limited to 'numpy')
-rw-r--r--numpy/doc/broadcasting.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/doc/broadcasting.py b/numpy/doc/broadcasting.py
index 43b725b83..d6069a0fa 100644
--- a/numpy/doc/broadcasting.py
+++ b/numpy/doc/broadcasting.py
@@ -68,8 +68,8 @@ they are compatible::
Scale (1d array): 3
Result (3d array): 256 x 256 x 3
-When either of the dimensions compared is one, the larger of the two is
-used. In other words, the smaller of two axes is stretched or "copied"
+When either of the dimensions compared is one, the other is
+used. In other words, dimensions with size 1 are stretched or "copied"
to match the other.
In the following example, both the ``A`` and ``B`` arrays have axes with