3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-03-02 11:46:55 +00:00

Add wrapper for external dependencies to prevent accidental conversions

This commit is contained in:
Jakob Rath 2022-01-26 11:44:01 +01:00
parent cbed3bfde4
commit 645f190e35
6 changed files with 57 additions and 37 deletions

View file

@ -164,7 +164,7 @@ namespace polysat {
}
void solver::assign_eh(signed_constraint c, unsigned dep) {
void solver::assign_eh(signed_constraint c, dependency dep) {
SASSERT(at_base_level());
SASSERT(c);
if (is_conflict())
@ -592,7 +592,7 @@ namespace polysat {
SASSERT(!m_conflict.empty());
}
void solver::unsat_core(unsigned_vector& deps) {
void solver::unsat_core(dependency_vector& deps) {
deps.reset();
for (auto c : m_conflict) {
auto d = m_bvars.dep(c.blit());