diff options
| -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: |
