Add missing case for max.

Apparently this got lost at some point!
This commit is contained in:
Iavor S. Diatchki 2015-06-22 15:00:14 -07:00
parent 6785d7078c
commit c4c587d14b

View File

@ -183,6 +183,7 @@ crySimpExprStep1 expr =
(K Inf, _) -> Just inf
(_, K (Nat 0)) -> Just x
(_, K Inf) -> Just inf
(K a, K b) -> Just (K (IN.nMax a b))
_ | x == y -> Just x
_ -> Nothing