added int type constraint to accomodate hacked SML/NJ (backported change in generated metis.ML);
authorwenzelm
Fri, 03 Aug 2007 16:28:25 +0200
changeset 24146 e4fbf438376d
parent 24145 c6402b61d44a
child 24147 edc90be09ac1
added int type constraint to accomodate hacked SML/NJ (backported change in generated metis.ML);
src/Tools/Metis/src/Options.sml
--- a/src/Tools/Metis/src/Options.sml	Fri Aug 03 16:28:24 2007 +0200
+++ b/src/Tools/Metis/src/Options.sml	Fri Aug 03 16:28:25 2007 +0200
@@ -47,7 +47,7 @@
     | range NONE (SOME j) = "{n IN Z | n <= " ^ Int.toString j ^ "}"
     | range (SOME i) (SOME j) =
     "{n IN Z | " ^ Int.toString i ^ " <= n <= " ^ Int.toString j ^ "}";
-  fun oLeq (SOME x) (SOME y) = x <= y | oLeq _ _ = true;
+  fun oLeq (SOME (x: int)) (SOME y) = x <= y | oLeq _ _ = true;
   fun argToInt arg omin omax x =
     (case Int.fromString x of
        SOME i =>