diff --git a/loopy/target/python.py b/loopy/target/python.py index ddfd1e81cddacd941b6133eac973c82ddecc923e..11951abcf17e94c0fdba51042e3060735215b423 100644 --- a/loopy/target/python.py +++ b/loopy/target/python.py @@ -259,7 +259,7 @@ class PythonASTBuilderBase(ASTBuilderBase): lbound, ubound, inner): ecm = codegen_state.expression_to_code_mapper - from pymbolic.mapper.stringifier import PREC_NONE + from pymbolic.mapper.stringifier import PREC_NONE, PREC_SUM from genpy import For return For(