diff options
author | Takuya Akiba <t.akiba.65536@gmail.com> | 2016-11-29 15:37:20 +0900 |
---|---|---|
committer | Takuya Akiba <t.akiba.65536@gmail.com> | 2016-12-02 10:47:51 +0900 |
commit | 47c66c974b8fecb3a14a3a144d68d5c5a02a2073 (patch) | |
tree | be1521e5a7a981933ae7b5256f802bed1418da29 /numpy/add_newdocs.py | |
parent | a4dca241647a31a4313238fa183b67e453c1de0f (diff) | |
download | numpy-47c66c974b8fecb3a14a3a144d68d5c5a02a2073.tar.gz |
BUG: fix packbits and unpackbits to correctly handle empty arrays
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r-- | numpy/add_newdocs.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py index 8a24bead1..2834c963b 100644 --- a/numpy/add_newdocs.py +++ b/numpy/add_newdocs.py @@ -5319,7 +5319,8 @@ add_newdoc('numpy.core.multiarray', 'packbits', Parameters ---------- myarray : array_like - An integer type array whose elements should be packed to bits. + An array of integers or booleans whose elements should be packed to + bits. axis : int, optional The dimension over which bit-packing is done. ``None`` implies packing the flattened array. |