mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 13:28:47 +00:00
fix errors
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
734d48fa33
commit
5a8154c156
|
@ -32,7 +32,7 @@ solver_na2as::~solver_na2as() {}
|
||||||
|
|
||||||
void solver_na2as::assert_expr_core(expr * t, expr * a) {
|
void solver_na2as::assert_expr_core(expr * t, expr * a) {
|
||||||
if (a == 0) {
|
if (a == 0) {
|
||||||
assert_expr_core(t);
|
solver::assert_expr_core(t);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
SASSERT(is_uninterp_const(a));
|
SASSERT(is_uninterp_const(a));
|
||||||
|
@ -41,7 +41,7 @@ void solver_na2as::assert_expr_core(expr * t, expr * a) {
|
||||||
m_assumptions.push_back(a);
|
m_assumptions.push_back(a);
|
||||||
expr_ref new_t(m);
|
expr_ref new_t(m);
|
||||||
new_t = m.mk_implies(a, t);
|
new_t = m.mk_implies(a, t);
|
||||||
assert_expr_core(new_t);
|
solver::assert_expr_core(new_t);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ public:
|
||||||
virtual ~solver_na2as();
|
virtual ~solver_na2as();
|
||||||
|
|
||||||
void assert_expr_core(expr * t, expr * a) override;
|
void assert_expr_core(expr * t, expr * a) override;
|
||||||
virtual void assert_expr_core(expr * t) = 0;
|
// virtual void assert_expr_core(expr * t) = 0;
|
||||||
|
|
||||||
// Subclasses of solver_na2as should redefine the following *_core methods instead of these ones.
|
// Subclasses of solver_na2as should redefine the following *_core methods instead of these ones.
|
||||||
virtual lbool check_sat(unsigned num_assumptions, expr * const * assumptions);
|
virtual lbool check_sat(unsigned num_assumptions, expr * const * assumptions);
|
||||||
|
|
Loading…
Reference in a new issue