diff --git a/pytato/target/loopy/codegen.py b/pytato/target/loopy/codegen.py index 0ffb017edd825258b23aea450cb5d2853bde1cd3..dc463de4b87889f6a6967ba57a5cef886dd5f09d 100644 --- a/pytato/target/loopy/codegen.py +++ b/pytato/target/loopy/codegen.py @@ -643,6 +643,8 @@ def shape_to_scalar_expression(shape: ShapeType, result.append( cgen_mapper(component, state).to_loopy_expression((), shape_context)) + assert not shape_context.depends_on + return tuple(result)