Skip to content

Commit 4e5c0d8

Browse files
committed
appease formatter
1 parent 59f1428 commit 4e5c0d8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/array_api_extra/_funcs.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,5 +429,7 @@ def sinc(x: Array, /, *, xp: ModuleType) -> Array:
429429
err_msg = "`x` must have a real floating data type."
430430
raise ValueError(err_msg)
431431
# no scalars in `where` - array-api#807
432-
y = xp.pi * xp.where(x, x, xp.asarray(xp.finfo(x.dtype).smallest_normal, dtype=x.dtype))
432+
y = xp.pi * xp.where(
433+
x, x, xp.asarray(xp.finfo(x.dtype).smallest_normal, dtype=x.dtype)
434+
)
433435
return xp.sin(y) / y

0 commit comments

Comments
 (0)