mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-11-29 01:45:36 +03:00
Add missing case for max
.
Apparently this got lost at some point!
This commit is contained in:
parent
6785d7078c
commit
c4c587d14b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user