mirror of
https://github.com/Z3Prover/z3
synced 2025-08-17 08:42:15 +00:00
fix cnf check
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b8d18c6c6d
commit
63d480fd92
4 changed files with 96 additions and 5 deletions
|
@ -279,7 +279,6 @@ public:
|
|||
}
|
||||
}
|
||||
else {
|
||||
m_is_cnf &= is_clause(t);
|
||||
assert_expr_core(t);
|
||||
}
|
||||
}
|
||||
|
@ -287,6 +286,7 @@ public:
|
|||
ast_manager& get_manager() const override { return m; }
|
||||
void assert_expr_core(expr * t) override {
|
||||
TRACE("goal2sat", tout << mk_pp(t, m) << "\n";);
|
||||
m_is_cnf &= is_clause(t);
|
||||
m_fmls.push_back(t);
|
||||
}
|
||||
void set_produce_models(bool f) override {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue