Skip to content

Commit

Permalink
fix docstring and precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
vtavana committed Sep 29, 2023
1 parent 29246d1 commit 23934cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions dpnp/dpnp_algo/dpnp_elementwise_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1271,11 +1271,9 @@ def dpnp_greater_equal(x1, x2, out=None, order="K"):
input arrays `x1` and `x2`.
Args:
x1 (dpnp.ndarray):
First input array, expected to have a real-valued floating-point
data type.
First input array, expected to have a real-valued data type.
x2 (dpnp.ndarray):
Second input array, also expected to have a real-valued
floating-point data type.
Second input array, also expected to have a real-valued data type.
out ({None, dpnp.ndarray}, optional):
Output array to populate.
Array have the correct shape and the expected data type.
Expand Down Expand Up @@ -1312,6 +1310,7 @@ def _call_hypot(src1, src2, dst, sycl_queue, depends=None):
def dpnp_hypot(x1, x2, out=None, order="K"):
"""
Invokes hypot() function from pybind11 extension of OneMKL VM if possible.
Otherwise fully relies on dpctl.tensor implementation for hypot() function.
"""

Expand Down
2 changes: 1 addition & 1 deletion tests/test_usm_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def test_1in_1out(func, data, usm_type):
"hypot",
[[1.0, 2.0, 3.0, 4.0]],
[[-1.0, -2.0, -4.0, -5.0]],
),
),
pytest.param(
"maximum",
[[0.0, 1.0, 2.0]],
Expand Down

0 comments on commit 23934cb

Please sign in to comment.