Skip to content

Commit

Permalink
Revert "Fix the error message."
Browse files Browse the repository at this point in the history
This reverts commit 27c220a.
  • Loading branch information
Halbaroth committed Jul 19, 2023
1 parent 1764f68 commit dc607b2
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/bin/common/solving_loop.ml
Original file line number Diff line number Diff line change
Expand Up @@ -363,9 +363,9 @@ let main () =
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 \
for the current SAT solver. Please choose the \
SAT solver Tableaux."
Loc.report st_loc Util.pp_sat_solver (Options.get_sat_solver ())
Loc.report st_loc
| ":produce-models", Symbol { name = Simple "false"; _ } ->
Options.set_interpretation INone
| ":produce-unsat-cores", Symbol { name = Simple "true"; _ } ->
Expand Down Expand Up @@ -519,14 +519,6 @@ let main () =
(* TODO: add the location of the statement. *)
Printer.print_smtlib_err "No model produced.";
st
else if Stdlib.(Options.get_sat_solver () <> Tableaux) then
begin
(* TODO: add the location of the statement. *)
Printer.print_smtlib_err
"get-model is not supported with the SAT solver %a."
Util.pp_sat_solver (Options.get_sat_solver ());
st
end
else
begin
(* TODO: add the location of the statement. *)
Expand Down

0 comments on commit dc607b2

Please sign in to comment.