diff --git a/arraycontext/impl/pytato/utils.py b/arraycontext/impl/pytato/utils.py index e0af81cba22e0816962f1b21dca4d9f04f330d23..2a3be3fb8bae39741cf4c31cb62e34e000bcb03d 100644 --- a/arraycontext/impl/pytato/utils.py +++ b/arraycontext/impl/pytato/utils.py @@ -58,8 +58,9 @@ class _DatawrapperToBoundPlaceholderMapper(CopyMapper): f"{expr.name} => Illegal.") self.seen_inputs.add(expr.name) - # Normalizing names so that we more arrays can have the normalized DAG. - name = self.vng("_actx_dw") + # Normalizing names so that more arrays can have the same normalized DAG. + from pytato.codegen import _generate_name_for_temp + name = _generate_name_for_temp(expr, self.vng, "_actx_dw") self.bound_arguments[name] = expr.data return make_placeholder( name=name,