Skip to content
Snippets Groups Projects
Commit 851d5e27 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Fix codegen from (immutable) tuples in Min/Max

parent e1293b7f
No related branches found
No related tags found
No related merge requests found
......@@ -289,7 +289,7 @@ class LoopyCCodeMapper(RecursiveMapper):
def map_min(self, expr, prec, type_context):
what = type(expr).__name__.lower()
children = expr.children[:]
children = list(expr.children)
result = self.rec(children.pop(), PREC_NONE, type_context)
while children:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment