mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-07 03:35:38 -05:00
better dimacs printing
This commit is contained in:
parent
3321f556d6
commit
bf5e6cf67c
1 changed files with 2 additions and 2 deletions
|
|
@ -120,10 +120,10 @@ module Make
|
|||
St.pp_dimacs fmt c'
|
||||
in
|
||||
let pp s fmt vec =
|
||||
Format.fprintf fmt "c %s@\n%a" s (Vec.print ~sep:"\n" aux) vec
|
||||
Format.fprintf fmt "c %s@,%a" s (Vec.print ~sep:"" aux) vec
|
||||
in
|
||||
Format.fprintf fmt
|
||||
"p cnf %d %d@\n%a%a%a"
|
||||
"@[<v>p cnf %d %d@,%a%a%a@]@."
|
||||
n m
|
||||
(pp "Local assumptions") tmp
|
||||
(pp "Hypotheses") hyps
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue