]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/tactics/fourierR.ml
- init_cache_and_tables rewritten using the automation_cache
[helm.git] / helm / software / components / tactics / fourierR.ml
index 4844978030fab7c3f78a90060965491cd1e13d51..eb3201c58587b051170991690254d29a17434148 100644 (file)
@@ -439,8 +439,8 @@ let fourier_lineq lineq1 =
    let hvar=Hashtbl.create 50 in (* la table des variables des inĂ©quations *)
    List.iter (fun f ->
                Hashtbl.iter (fun x c ->
-                                 try (Hashtbl.find hvar x;())
-                                 with _-> nvar:=(!nvar)+1;
+                                 try ignore(Hashtbl.find hvar x)
+                                 with Not_found -> nvar:=(!nvar)+1;
                                              Hashtbl.add hvar x (!nvar);
                                           debug("aggiungo una var "^
                                            string_of_int !nvar^" per "^