Skip to content

Commit c681737

Browse files
Small fix
1 parent f25c29e commit c681737

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dpnp/dpnp_iface_manipulation.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848

4949
import dpnp
5050
import numpy
51-
import numpy.core.numeric as _nx
5251

5352

5453
__all__ = [
@@ -90,7 +89,7 @@ def asfarray(x1, dtype=None):
9089

9190
x1_desc = dpnp.get_dpnp_descriptor(x1, copy_when_nondefault_queue=False)
9291
if x1_desc:
93-
if dtype is None or not numpy.issubdtype(dtype, _nx.inexact):
92+
if dtype is None or not numpy.issubdtype(dtype, numpy.inexact):
9493
dtype = dpnp.default_float_type(sycl_queue=x1.sycl_queue)
9594

9695
# if type is the same then same object should be returned

0 commit comments

Comments
 (0)