From 12122f3c2cff82ba968e37b403d1549b1ee7ce09 Mon Sep 17 00:00:00 2001 From: Matthew Smith Date: Wed, 6 Sep 2023 15:45:38 -0500 Subject: [PATCH] use make_dict_of_named_arrays to suppress deprecation warning --- grudge/array_context.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grudge/array_context.py b/grudge/array_context.py index 2e82519e..3a7c0531 100644 --- a/grudge/array_context.py +++ b/grudge/array_context.py @@ -278,9 +278,9 @@ def _dag_to_compiled_func(self, dict_of_named_arrays, name_in_program_to_tags = pmap() name_in_program_to_axes = pmap() - from pytato import DictOfNamedArrays + from pytato import make_dict_of_named_arrays for part in distributed_partition.parts.values(): - d = DictOfNamedArrays( + d = make_dict_of_named_arrays( {var_name: distributed_partition.name_to_output[var_name] for var_name in part.output_names })