Skip to content

Commit 6da88f7

Browse files
JonoPrestcristianoc
authored andcommitted
Fix floatcomp for %max
1 parent 1d8560f commit 6da88f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/ml/translcore.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ let comparisons_table =
164164
objcomp = Pobjmax;
165165
intcomp = Pintmax;
166166
boolcomp = Pboolmax;
167-
floatcomp = Pboolmax;
167+
floatcomp = Pfloatmax;
168168
stringcomp = Pstringmax;
169169
bigintcomp = Pbigintmax;
170170
simplify_constant_constructor = false;

0 commit comments

Comments
 (0)