Skip to content

Commit 11bc5de

Browse files
committed
Disable TaggableCLArray warning
1 parent dc5a711 commit 11bc5de

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

boxtree/array_context.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,12 @@ def _wrapper(ary):
6262
if isinstance(ary, allowed_types):
6363
return func(ary)
6464
elif not strict and isinstance(ary, actx.array_types):
65-
from warnings import warn
66-
warn(f"Invoking {type(actx).__name__}.{func.__name__[1:]} with "
67-
f"{type(ary).__name__} will be unsupported in 2025. Use "
68-
"'to_tagged_cl_array' to convert instances to TaggableCLArray.",
69-
DeprecationWarning, stacklevel=2)
65+
# from warnings import warn
66+
# warn(f"Invoking {type(actx).__name__}.{func.__name__[1:]} with "
67+
# f"{type(ary).__name__} will be unsupported in 2025. Use "
68+
# "'to_tagged_cl_array' to convert instances to TaggableCLArray.",
69+
# DeprecationWarning, stacklevel=2)
70+
7071
return func(tga.to_tagged_cl_array(ary))
7172
elif np.isscalar(ary):
7273
if default_scalar is None:

0 commit comments

Comments
 (0)