fix(kernel/justification): bug in depends_on
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
94ca82ec85
commit
e4f69bd780
1 changed files with 2 additions and 2 deletions
|
@ -137,8 +137,8 @@ bool depends_on(justification const & j, unsigned i) {
|
|||
return true;
|
||||
break;
|
||||
case justification_kind::Composite: case justification_kind::ExtComposite:
|
||||
for (unsigned i = 0; i < 2; i++) {
|
||||
justification c = to_composite(curr)->m_child[i];
|
||||
for (unsigned k = 0; k < 2; k++) {
|
||||
justification c = to_composite(curr)->m_child[k];
|
||||
if (may_contain(get_approx_assumption_set(c), i))
|
||||
todo.push_back(c.raw());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue