mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 09:35:32 +00:00
fix variable naming bug for internal (fresh) constants clashing with external names
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
ba53fc1230
commit
2774d6896b
5 changed files with 25 additions and 27 deletions
|
@ -1173,7 +1173,7 @@ namespace sat {
|
|||
break;
|
||||
case justification::CLAUSE: {
|
||||
inc_bound(offset);
|
||||
clause & c = *(s().m_cls_allocator.get_clause(js.get_clause_offset()));
|
||||
clause & c = s().get_clause(js);
|
||||
unsigned i = 0;
|
||||
if (consequent != null_literal) {
|
||||
inc_coeff(consequent, offset);
|
||||
|
@ -3780,7 +3780,7 @@ namespace sat {
|
|||
break;
|
||||
case justification::CLAUSE: {
|
||||
ineq.reset(offset);
|
||||
clause & c = *(s().m_cls_allocator.get_clause(js.get_clause_offset()));
|
||||
clause & c = s().get_clause(js);
|
||||
for (literal l : c) ineq.push(l, offset);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue