Skip to content

Commit 6ed744a

Browse files
committed
fix typo
1 parent 88b5ec9 commit 6ed744a

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

dpnp/dpnp_iface_mathematical.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,9 @@
5858
import dpnp.backend.extensions.vm._vm_impl as vmi
5959
from dpnp.backend.extensions.sycl_ext import _sycl_ext_impl
6060
from dpnp.dpnp_array import dpnp_array
61-
6261
from dpnp.dpnp_utils import call_origin, get_usm_allocations
6362

6463
from .dpnp_algo import (
65-
dpnp_cross,
6664
dpnp_cumprod,
6765
dpnp_cumsum,
6866
dpnp_ediff1d,
@@ -74,7 +72,6 @@
7472
dpnp_modf,
7573
dpnp_trapz,
7674
)
77-
7875
from .dpnp_algo.dpnp_elementwise_common import (
7976
DPNPAngle,
8077
DPNPBinaryFunc,
@@ -87,6 +84,7 @@
8784
acceptance_fn_sign,
8885
acceptance_fn_subtract,
8986
)
87+
from .dpnp_utils.dpnp_utils_linearalgebra import dpnp_cross
9088

9189
__all__ = [
9290
"abs",
@@ -810,8 +808,8 @@ def cross(a, b, axisa=-1, axisb=-1, axisc=-1, axis=None):
810808
cp = dpnp_cross(a, b, cp, exec_q)
811809
if a_shape[-1] == 2 and b_shape[-1] == 2:
812810
return cp
813-
else:
814-
return dpnp.moveaxis(cp, -1, axisc)
811+
812+
return dpnp.moveaxis(cp, -1, axisc)
815813

816814

817815
def cumprod(x1, **kwargs):

dpnp/dpnp_iface_trigonometric.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1446,7 +1446,6 @@ def reduce_hypot(x, axis=None, out=None, dtype=None, keepdims=False):
14461446
return dpnp.get_result_array(result, out, casting="same_kind")
14471447

14481448

1449-
14501449
_RSQRT_DOCSTRING = """
14511450
Computes the reciprocal square-root for each element `x_i` for input array `x`.
14521451

0 commit comments

Comments
 (0)