Skip to content

Commit e2c6d40

Browse files
crusaderkyjorenham
andauthored
Update array_api_strict/_array_object.py
Co-authored-by: Joren Hammudoglu <[email protected]>
1 parent b40974c commit e2c6d40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array_api_strict/_array_object.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ def __matmul__(self, other: Array, /) -> Array:
829829
res = self._array.__matmul__(other._array)
830830
return self.__class__._new(res, device=self.device)
831831

832-
def __mod__(self, other: Array | complex, /) -> Array:
832+
def __mod__(self, other: Array | float, /) -> Array:
833833
"""
834834
Performs the operation __mod__.
835835
"""

0 commit comments

Comments
 (0)