Skip to content

Commit 8466c48

Browse files
committed
ArithArrayContainer: add __pow__, __rpow__
1 parent 4ab1514 commit 8466c48

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arraycontext/container/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ def __mul__(self, other: ArrayOrScalar | Self) -> Self: ...
168168
def __rmul__(self, other: ArrayOrScalar | Self) -> Self: ...
169169
def __truediv__(self, other: ArrayOrScalar | Self) -> Self: ...
170170
def __rtruediv__(self, other: ArrayOrScalar | Self) -> Self: ...
171+
def __pow__(self, other: ArrayOrScalar | Self) -> Self: ...
172+
def __rpow__(self, other: ArrayOrScalar | Self) -> Self: ...
171173

172174

173175
ArrayContainerT = TypeVar("ArrayContainerT", bound=ArrayContainer)

0 commit comments

Comments
 (0)