Skip to content

Commit c410756

Browse files
committed
Remove w/a since dpctl issue is resolved
1 parent 7bb8c59 commit c410756

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

dpnp/dpnp_iface_mathematical.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,10 +1187,6 @@ def diff(a, n=1, axis=-1, prepend=None, append=None):
11871187
)
11881188
usm_app = None if append is None else dpnp.get_usm_ndarray_or_scalar(append)
11891189

1190-
if n < 0:
1191-
# TODO: remove once dpctl-1779 is resolved
1192-
raise ValueError(f"order must be non-negative but got {n}")
1193-
11941190
usm_res = dpt.diff(usm_a, axis=axis, n=n, prepend=usm_pre, append=usm_app)
11951191
return dpnp_array._create_from_usm_ndarray(usm_res)
11961192

0 commit comments

Comments
 (0)