mirror of
https://github.com/Z3Prover/z3
synced 2025-06-25 07:13:41 +00:00
add logic 'SAT' as an alternative name to QF_FD some solverFor(SAT) works too. #1152
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
25752dc169
commit
97e263299d
1 changed files with 2 additions and 2 deletions
|
@ -93,7 +93,7 @@ tactic * mk_tactic_for_logic(ast_manager & m, params_ref const & p, symbol const
|
||||||
return mk_qffpbv_tactic(m, p);
|
return mk_qffpbv_tactic(m, p);
|
||||||
else if (logic=="HORN")
|
else if (logic=="HORN")
|
||||||
return mk_horn_tactic(m, p);
|
return mk_horn_tactic(m, p);
|
||||||
else if (logic == "QF_FD")
|
else if (logic == "QF_FD" || logic == "SAT")
|
||||||
return mk_solver2tactic(mk_fd_solver(m, p));
|
return mk_solver2tactic(mk_fd_solver(m, p));
|
||||||
//else if (logic=="QF_UFNRA")
|
//else if (logic=="QF_UFNRA")
|
||||||
// return mk_qfufnra_tactic(m, p);
|
// return mk_qfufnra_tactic(m, p);
|
||||||
|
@ -102,7 +102,7 @@ tactic * mk_tactic_for_logic(ast_manager & m, params_ref const & p, symbol const
|
||||||
}
|
}
|
||||||
|
|
||||||
static solver* mk_special_solver_for_logic(ast_manager & m, params_ref const & p, symbol const& logic) {
|
static solver* mk_special_solver_for_logic(ast_manager & m, params_ref const & p, symbol const& logic) {
|
||||||
if (logic == "QF_FD")
|
if (logic == "QF_FD" || logic == "SAT")
|
||||||
return mk_fd_solver(m, p);
|
return mk_fd_solver(m, p);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue