diff --git a/pytato/target/loopy/codegen.py b/pytato/target/loopy/codegen.py index 7c114d2651a5a6bf10f088f04a28adb84c689e22..bd17d67f0b4b7b3c7119c84f48b252d0aee0f894 100644 --- a/pytato/target/loopy/codegen.py +++ b/pytato/target/loopy/codegen.py @@ -1045,13 +1045,6 @@ def generate_loopy(result: Union[Array, DictOfNamedArrays, Dict[str, Array]], if options is None: options = lp.Options(return_dict=result_is_dict) - elif isinstance(options, dict): - from warnings import warn - warn("Passing a dict for options is deprecated and will stop working in " - "2022. Pass an actual loopy.Options object instead.", - DeprecationWarning, stacklevel=2) - options = lp.Options(**options) - if options.return_dict != result_is_dict: raise ValueError("options.return_dict is expected to match " "whether the returned value is a dictionary")