diff options
| author | Wansoo Kim <rladhkstn8@gmail.com> | 2020-07-13 18:47:57 +0900 |
|---|---|---|
| committer | Ross Barnowski <rossbar@berkeley.edu> | 2020-08-03 15:22:42 -0700 |
| commit | 020122fa08a82223324f1ac4f74c30b969da6e5b (patch) | |
| tree | 16233f8c95ac414b33c8734c8d8d0e208bb321f8 | |
| parent | 96a91d37b3b0f1452d0bdcf0071dd2a5a4079d56 (diff) | |
| download | numpy-020122fa08a82223324f1ac4f74c30b969da6e5b.tar.gz | |
Update numpy/core/function_base.py
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
| -rw-r--r-- | numpy/core/function_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/function_base.py b/numpy/core/function_base.py index 7a2b350a4..ed0ad31bd 100644 --- a/numpy/core/function_base.py +++ b/numpy/core/function_base.py @@ -161,7 +161,7 @@ def linspace(start, stop, num=50, endpoint=True, retstep=False, dtype=None, if axis != 0: y = _nx.moveaxis(y, 0, axis) - if _nx.issubdtype(dtype, np.integer): + if _nx.issubdtype(dtype, _nx.integer): _nx.floor(y, out=y) if retstep: |
