From 3f9e8cf9644089e4a2d31e4ba18a93d7d4817fac Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Wed, 26 Jul 2023 17:05:37 -0500 Subject: [PATCH] Fix typo in options.return_dict checking --- pytato/target/loopy/codegen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytato/target/loopy/codegen.py b/pytato/target/loopy/codegen.py index 3901f9d..2202190 100644 --- a/pytato/target/loopy/codegen.py +++ b/pytato/target/loopy/codegen.py @@ -1053,7 +1053,7 @@ def generate_loopy(result: Union[Array, DictOfNamedArrays, Dict[str, Array]], options = lp.Options(**options) if options.return_dict != result_is_dict: - raise ValueError("options.result_is_dict is expected to match " + raise ValueError("options.return_dict is expected to match " "whether the returned value is a dictionary") state = get_initial_codegen_state(target, options, function_name=function_name) -- GitLab