Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion arraycontext/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@

if TYPE_CHECKING:
import numpy as np
from numpy.typing import DTypeLike

import loopy
from pytools.tag import ToTagSetConvertible
Expand Down Expand Up @@ -223,7 +224,7 @@ def __hash__(self) -> int:

def zeros(self,
shape: int | tuple[int, ...],
dtype: np.dtype[Any]) -> Array:
dtype: DTypeLike) -> Array:
warn(f"{type(self).__name__}.zeros is deprecated and will stop "
"working in 2025. Use actx.np.zeros instead.",
DeprecationWarning, stacklevel=2)
Expand Down
Loading