Skip to content

Commit 440106f

Browse files
committed
fix list
1 parent 1ef7d5e commit 440106f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/array_api_extra/_lib/_quantile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def _quantile_hf(
140140
# Broadcast indices to match y shape except for the last axis
141141
if y.ndim > 1:
142142
# Create broadcast shape for indices
143-
broadcast_shape = list(y.shape[:-1]).append(1)
143+
broadcast_shape = [*y.shape[:-1], 1]
144144
j = xp.broadcast_to(j, broadcast_shape)
145145
jp1 = xp.broadcast_to(jp1, broadcast_shape)
146146
g = xp.broadcast_to(g, broadcast_shape)

0 commit comments

Comments
 (0)