Skip to content

Commit

Permalink
update pp_bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
zapashcanon authored and filipeom committed Dec 2, 2024
1 parent 9c77b47 commit 23f9a8c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/solvers/model.ml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ let pp_bindings fmt ?(no_values = false) model =
Fmt.list
~sep:(fun fmt () -> Fmt.pf fmt "@\n")
(fun fmt (key, data) ->
if not no_values then Fmt.pf fmt "(%a %a)" Symbol.pp key Value.pp data
else
let t = Symbol.type_of key in
Fmt.pf fmt "(%a %a)" Symbol.pp key Ty.pp t )
let t = Symbol.type_of key in
if not no_values then
Fmt.pf fmt "(%a %a %a)" Symbol.pp key Ty.pp t Value.pp data
else Fmt.pf fmt "(%a %a)" Symbol.pp key Ty.pp t )
fmt (get_bindings model)

let pp ?(no_values = false) fmt model =
Expand Down

0 comments on commit 23f9a8c

Please sign in to comment.