diff --git a/arraycontext/impl/pytato/utils.py b/arraycontext/impl/pytato/utils.py index e50207af..d0c80a33 100644 --- a/arraycontext/impl/pytato/utils.py +++ b/arraycontext/impl/pytato/utils.py @@ -99,6 +99,7 @@ def _normalize_pt_expr( """ normalize_mapper = _DatawrapperToBoundPlaceholderMapper() normalized_expr = normalize_mapper(expr) + assert isinstance(normalized_expr, AbstractResultWithNamedArrays) return normalized_expr, normalize_mapper.bound_arguments