Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vtavana committed Sep 29, 2023
1 parent 7367ea3 commit 098832c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dpnp/dpnp_iface_trigonometric.py
Original file line number Diff line number Diff line change
Expand Up @@ -1103,9 +1103,9 @@ def logaddexp(
>>> prob2 = np.log(np.array(2.5e-50))
>>> prob12 = np.logaddexp(prob1, prob2)
>>> prob12
-113.87649168120691
array(-113.87649168)
>>> np.exp(prob12)
3.5000000000000057e-50
array(3.5e-50)
"""

Expand Down
2 changes: 1 addition & 1 deletion tests/test_sycl_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def test_proj(device):
"logaddexp",
[[-1, 2, 5, 9]],
[[4, -3, 2, -8]],
),
),
pytest.param(
"matmul", [[1.0, 0.0], [0.0, 1.0]], [[4.0, 1.0], [1.0, 2.0]]
),
Expand Down
4 changes: 2 additions & 2 deletions tests/test_usm_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,8 @@ def test_1in_1out(func, data, usm_type):
pytest.param(
"logaddexp",
[[-1, 2, 5, 9]],
[[4, -3, 2, -8]],
),
[[4, -3, 2, -8]],
),
pytest.param(
"maximum",
[[0.0, 1.0, 2.0]],
Expand Down

0 comments on commit 098832c

Please sign in to comment.