diff --git a/solver/mcproof.ml b/solver/mcproof.ml index 7f6aabc9..bd440a50 100644 --- a/solver/mcproof.ml +++ b/solver/mcproof.ml @@ -353,11 +353,11 @@ module Make(St : Mcsolver_types.S) = struct Format.fprintf fmt "%a%s" print_clause p.conclusion color (List.length f_args + List.length t_args) name; if f_args <> [] then - Format.fprintf fmt "%a%a%a" St.print_atom (List.hd f_args) + Format.fprintf fmt "%a%a%a" St.print_atom (List.hd f_args) (fun fmt -> List.iter (fun a -> Format.fprintf fmt "%a" St.print_atom a)) (List.tl f_args) (fun fmt -> List.iter (fun v -> Format.fprintf fmt "%a" St.print_semantic_var v)) t_args else - Format.fprintf fmt "%a%a" St.print_semantic_var (List.hd t_args) + Format.fprintf fmt "%a%a" St.print_semantic_var (List.hd t_args) (fun fmt -> List.iter (fun v -> Format.fprintf fmt "%a" St.print_semantic_var v)) (List.tl t_args) in print_dot_rule "BGCOLOR=\"LIGHTBLUE\"" aux () fmt p.conclusion