Skip to content

Commit

Permalink
Fix bug in unitCmp that caused < to return incorrect results.
Browse files Browse the repository at this point in the history
Fixes #1579.
  • Loading branch information
Brian Huffman committed Feb 14, 2022
1 parent 2eb734f commit 7b274ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cryptol-saw-core/saw/Cryptol.sawcore
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ vecLt n a f g xs ys =
(zipWith a a (Bool -> Bool) f n xs ys);

unitCmp : #() -> #() -> Bool -> Bool;
unitCmp _ _ _ = False;
unitCmp _ _ k = k;

unitLt : #() -> #() -> Bool;
unitLt _ _ = False;
Expand Down

0 comments on commit 7b274ed

Please sign in to comment.