simpler printing of models

This commit is contained in:
Simon Cruanes 2022-02-02 16:12:11 -05:00
parent a0a67549de
commit dbb9dabd1d
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -304,7 +304,7 @@ let process_stmt
| Statement.Stmt_get_model ->
begin match Solver.last_res solver with
| Some (Solver.Sat m) ->
Fmt.printf "(@[model@ %a@])@." Solver.Model.pp m
Fmt.printf "%a@." Solver.Model.pp m
| _ -> Error.errorf "cannot access model"
end;
E.return ()