We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e09579e commit 21a89f1Copy full SHA for 21a89f1
arraycontext/impl/pytato/__init__.py
@@ -342,14 +342,6 @@ def _rec_map_container(
342
def _wrapper(ary):
343
if isinstance(ary, allowed_types):
344
return func(ary)
345
- elif not strict and isinstance(ary, self._frozen_array_types):
346
- from warnings import warn
347
- warn(f"Invoking {type(self).__name__}.{func.__name__[1:]} with"
348
- f" {type(ary).__name__} will be unsupported in 2023. Use"
349
- " 'to_tagged_cl_array' to convert instances to"
350
- " TaggableCLArray.", DeprecationWarning, stacklevel=2)
351
-
352
- return func(tga.to_tagged_cl_array(ary))
353
elif np.isscalar(ary):
354
if default_scalar is None:
355
return ary
0 commit comments