3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 09:35:32 +00:00

remove redundant subst_val

This commit is contained in:
Jakob Rath 2022-07-21 13:15:02 +02:00
parent f762b66fe2
commit 1b370727b1
2 changed files with 2 additions and 3 deletions

View file

@ -454,7 +454,6 @@ namespace dd {
pdd subst_val0(vector<std::pair<unsigned, rational>> const& s) const { return m.subst_val0(*this, s); }
pdd subst_val(pdd const& s) const { return m.subst_val(*this, s); }
pdd subst_val(vector<std::pair<unsigned, rational>> const& s) const { return m.subst_val0(*this, s); }
pdd subst_val(unsigned v, rational const& val) const { return m.subst_val(*this, v, val); }
pdd subst_add(unsigned var, rational const& val) { return m.subst_add(*this, var, val); }

View file

@ -80,7 +80,7 @@ namespace polysat {
bool mem2 = s.v.is_viable(xv, rational(i));
if (mem1 != mem2)
std::cout << "test violation: " << i << " member of all intervals " << mem1 << " viable: " << mem2 << "\n";
SASSERT(mem1 == mem2);
VERIFY_EQ(mem1, mem2);
}
}
@ -188,6 +188,6 @@ namespace polysat {
void tst_viable() {
polysat::test1();
// polysat::test2();
polysat::test_univariate();
polysat::test2(); // takes long
}