diff options
author | zuko3d <zuko3d@gmail.com> | 2018-05-18 19:54:01 +0300 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2018-05-18 09:54:01 -0700 |
commit | 6aa659951a63d7c491f1a06aea0605ea30ec699f (patch) | |
tree | 327a1186099899d0397a8508ea8fb8b87998d57d /numpy/core/numeric.py | |
parent | d520546e0f8364da7074ccbbb2cb52454af97b4d (diff) | |
download | numpy-6aa659951a63d7c491f1a06aea0605ea30ec699f.tar.gz |
BUG: Fix typo in variable name (#11116)
Typo fix in variable name in core/numeric/binary_repr/warn_if_insufficient.
This only worked before because it used binwidth from the outer namespace.
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r-- | numpy/core/numeric.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py index cd783d242..7ade3d224 100644 --- a/numpy/core/numeric.py +++ b/numpy/core/numeric.py @@ -2035,7 +2035,7 @@ def binary_repr(num, width=None): '11101' """ - def warn_if_insufficient(width, binwdith): + def warn_if_insufficient(width, binwidth): if width is not None and width < binwidth: warnings.warn( "Insufficient bit width provided. This behavior " |