mirror of
https://github.com/Z3Prover/z3
synced 2025-05-01 04:45:52 +00:00
fix choosing rows for horner's schem
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
7cf23c1a32
commit
aef26598e5
5 changed files with 31 additions and 15 deletions
|
@ -1238,7 +1238,7 @@ void core::negate_relation(unsigned j, const rational& a) {
|
|||
}
|
||||
}
|
||||
|
||||
bool core:: conflict_found() const {
|
||||
bool core::conflict_found() const {
|
||||
for (const auto & l : * m_lemma_vec) {
|
||||
if (l.is_conflict())
|
||||
return true;
|
||||
|
@ -1246,11 +1246,11 @@ bool core:: conflict_found() const {
|
|||
return false;
|
||||
}
|
||||
|
||||
bool core:: done() const {
|
||||
bool core::done() const {
|
||||
return m_lemma_vec->size() >= 10 || conflict_found();
|
||||
}
|
||||
|
||||
lbool core:: inner_check(bool derived) {
|
||||
lbool core::inner_check(bool derived) {
|
||||
if (derived && (lp_settings().st().m_nla_calls % m_settings.horner_frequency() == 0))
|
||||
m_horner.horner_lemmas();
|
||||
if (done()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue