We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ea2482 commit 023a8afCopy full SHA for 023a8af
1 file changed
arraycontext/impl/pytato/__init__.py
@@ -696,7 +696,7 @@ def preprocess_arg(name, arg):
696
# multiple placeholders with the same name that are not
697
# also the same object are not allowed, and this would produce
698
# a different Placeholder object of the same name.
699
- if (not isinstance(ary, pt.Placeholder)
+ if (not isinstance(ary, (pt.Placeholder, pt.NamedArray))
700
and not ary.tags_of_type(NameHint)):
701
ary = ary.tagged(NameHint(name))
702
0 commit comments