diff --git a/solver/mcproof.ml b/solver/mcproof.ml
index 20f8eeb8..871ee248 100644
--- a/solver/mcproof.ml
+++ b/solver/mcproof.ml
@@ -351,7 +351,7 @@ module Make(St : Mcsolver_types.S) = struct
let color = match color with None -> "YELLOW" | Some c -> c in
let aux fmt () =
Format.fprintf fmt "
| %a |
| %s | "
- print_clause p.conclusion color (min (List.length f_args + List.length t_args) 1) name;
+ print_clause p.conclusion color (max (List.length f_args + List.length t_args) 1) name;
if f_args <> [] then
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)