]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_paramodulation/pp.ml
Various fixes
[helm.git] / helm / software / components / ng_paramodulation / pp.ml
index bba9a26aee53ea06c86ca2bf4284f18683476fad..8a74fa762301589b5b79611575b29b1c37bd271b 100644 (file)
@@ -68,8 +68,8 @@ let pp_proof bag ~formatter:f p =
           eq (string_of_rule rule);
        Format.fprintf f "|%d with %d dir %s))" eq1 eq2
          (string_of_direction dir);
-       let (_, _, _, proof1) = Terms.M.find eq1 bag in
-       let (_, _, _, proof2) = Terms.M.find eq2 bag in
+       let (_, _, _, proof1),_ = Terms.M.find eq1 bag in
+       let (_, _, _, proof2),_ = Terms.M.find eq2 bag in
          Format.fprintf f "@[<v 2>";
           aux eq1 proof1;          
           aux eq2 proof2;
@@ -123,7 +123,7 @@ let pp_unit_clause ~formatter:f c =
 let pp_bag ~formatter:f bag = 
   Format.fprintf f "@[<v>";
   Terms.M.iter 
-  (fun _ c -> pp_unit_clause ~formatter:f c;Format.fprintf f "@;") bag;
+  (fun _ c,_ -> pp_unit_clause ~formatter:f c;Format.fprintf f "@;") bag;
   Format.fprintf f "@]"
 ;;