Skip to content

Commit

Permalink
Improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Halbaroth committed Jul 19, 2023
1 parent 27c220a commit b57f374
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/bin/common/solving_loop.ml
Original file line number Diff line number Diff line change
Expand Up @@ -357,9 +357,9 @@ let main () =
PR. See https://github.com/OCamlPro/alt-ergo/pull/553 *)
if Stdlib.(Options.get_sat_solver () = Tableaux) then
Options.set_interpretation ILast
else Printer.print_wrn "%a The generation of models is not supported \
for the SAT solver %a. Please choose the \
SAT solver Tableaux."
else Printer.print_wrn "%a The generation of models is not supported yet \
by the SAT solver %a. Please use the \
meta-option `--produce-models`."
Loc.report st_loc Util.pp_sat_solver (Options.get_sat_solver ())
| ":produce-models", Symbol { name = Simple "false"; _ } ->
Options.set_interpretation INone
Expand All @@ -369,9 +369,9 @@ let main () =
if Stdlib.(Options.get_sat_solver () = Tableaux) then
Options.set_unsat_core true
else Printer.print_wrn "%a The generation of unsat cores is not \
supported for the current SAT solver. Please \
supported by the SAT solver %a. Please \
choose the SAT solver Tableaux."
Loc.report st_loc
Loc.report st_loc Util.pp_sat_solver (Options.get_sat_solver ())
| ":produce-unsat-cores", Symbol { name = Simple "false"; _ } ->
Options.set_unsat_core false
| (":produce-models" | ":produce-unsat-cores" as name), _ ->
Expand Down

0 comments on commit b57f374

Please sign in to comment.