Skip to content

Commit d19c1a2

Browse files
committed
Fix full_like and linspace
1 parent c91360b commit d19c1a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

array_api_compat/common/_aliases.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ def full(
109109
def full_like(
110110
x: ndarray,
111111
/,
112-
xp,
113112
fill_value: Union[int, float],
114113
*,
114+
xp,
115115
dtype: Optional[Dtype] = None,
116116
device: Optional[Device] = None,
117117
) -> ndarray:
@@ -122,9 +122,9 @@ def linspace(
122122
start: Union[int, float],
123123
stop: Union[int, float],
124124
/,
125-
xp,
126125
num: int,
127126
*,
127+
xp,
128128
dtype: Optional[Dtype] = None,
129129
device: Optional[Device] = None,
130130
endpoint: bool = True,

0 commit comments

Comments
 (0)