mirror of
https://github.com/Z3Prover/z3
synced 2025-06-18 20:03:38 +00:00
fix interval dependencies bug. Codeplex issue 163
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
ec384d3d31
commit
b9bbfbdbb7
2 changed files with 3 additions and 1 deletions
|
@ -3147,7 +3147,7 @@ namespace Duality {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(node->Annotation.IsEmpty() || eq(node->Annotation.Formula,prev_annot) || (repeated_case_count > 0 && !axioms_added) || (repeated_case_count >= 10)){
|
if(node->Annotation.IsEmpty() || eq(node->Annotation.Formula,prev_annot) || (repeated_case_count > 0 && !axioms_added) || (repeated_case_count >= 10)){
|
||||||
looks_bad:
|
//looks_bad:
|
||||||
if(!axioms_added){
|
if(!axioms_added){
|
||||||
// add the axioms in the off chance they are useful
|
// add the axioms in the off chance they are useful
|
||||||
const std::vector<expr> &theory = ls->get_axioms();
|
const std::vector<expr> &theory = ls->get_axioms();
|
||||||
|
|
|
@ -295,6 +295,8 @@ interval & interval::operator*=(interval const & other) {
|
||||||
}
|
}
|
||||||
if (other.is_zero()) {
|
if (other.is_zero()) {
|
||||||
*this = other;
|
*this = other;
|
||||||
|
m_lower_dep = m_manager.mk_join(m_lower_dep, m_upper_dep);
|
||||||
|
m_upper_dep = m_lower_dep;
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue