Skip to content

Commit 369f51a

Browse files
committed
Remove w/a for dpnp.unwrap
1 parent d04a31e commit 369f51a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

dpnp/dpnp_iface_trigonometric.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2445,7 +2445,5 @@ def unwrap(p, discont=None, axis=-1, *, period=2 * dpnp.pi):
24452445

24462446
up = dpnp.astype(p, dtype=dt, copy=True)
24472447
up[slice1] = p[slice1]
2448-
# TODO: replace, once dpctl-1757 resolved
2449-
# up[slice1] += ph_correct.cumsum(axis=axis)
2450-
up[slice1] += ph_correct.cumsum(axis=axis, dtype=dt)
2448+
up[slice1] += ph_correct.cumsum(axis=axis)
24512449
return up

0 commit comments

Comments
 (0)