Skip to content
Snippets Groups Projects
Commit b60eaedb authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Simplify max/min calculations a bit

parent e93da956
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ class DuneCExpressionToCodeMapper(CExpressionToCodeMapper):
"""
what = type(expr).__name__.lower()
children = list(expr.children)
children = list(set(expr.children))
result = self.rec(children.pop(), PREC_NONE)
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