Skip to content

Commit ae9af0e

Browse files
Address a minor comment
1 parent 926c856 commit ae9af0e

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

dpnp/dpnp_iface_mathematical.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,9 +370,7 @@ def _validate_interp_param(param, name, exec_q, usm_type, dtype=None):
370370
f"input arrays and {name} must be allocated "
371371
"on the same SYCL queue"
372372
)
373-
param = param.astype(dtype)
374-
375-
return param
373+
return param.astype(dtype)
376374

377375
if dpnp.isscalar(param):
378376
return dpnp.asarray(

0 commit comments

Comments
 (0)