]> matita.cs.unibo.it Git - fireball-separation.git/blobdiff - ocaml/problems.ml
Fixed "$" in parser
[fireball-separation.git] / ocaml / problems.ml
index aed29d67a7dfc625f47dae59fce24e071ddb99ac..cd57451a70230816031c6264b75c7c16ab9f3dfe 100644 (file)
@@ -17,9 +17,9 @@ let assert_unseparable x =
 
 let assert_depends x =
  let c = String.sub (Lambda4.label_of_problem x) 0 1 in
- prerr_endline(Lambda4.label_of_problem x); assert (c = "!" || c="?");
- let q = c = "!" in
- (if q then assert_separable else assert_unseparable) x
+ if c = "!" then assert_separable x
+  else if c = "?" then assert_unseparable x
+   else (solve x; ())
 ;;
 
 let main () =