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

Fix evaluation of Max

parent 57e128e3
No related branches found
No related tags found
No related merge requests found
......@@ -185,7 +185,7 @@ class EvaluationMapper(RecursiveMapper, CSECachingMapperMixin):
return min(self.rec(child) for child in expr.children)
def map_max(self, expr):
return min(self.rec(child) for child in expr.children)
return max(self.rec(child) for child in expr.children)
def map_tuple(self, expr):
return tuple(self.rec(child) for child in expr)
......
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