mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
preserve rule names when changing rules
This commit is contained in:
parent
5b9bf74787
commit
a73023da97
|
@ -639,7 +639,7 @@ namespace datalog {
|
||||||
tail.push_back(ensure_app(conjs[i].get()));
|
tail.push_back(ensure_app(conjs[i].get()));
|
||||||
}
|
}
|
||||||
tail_neg.resize(tail.size(), false);
|
tail_neg.resize(tail.size(), false);
|
||||||
r = mk(r->get_head(), tail.size(), tail.c_ptr(), tail_neg.c_ptr());
|
r = mk(r->get_head(), tail.size(), tail.c_ptr(), tail_neg.c_ptr(), r->name());
|
||||||
TRACE("dl", r->display(m_ctx, tout << "reduced rule\n"););
|
TRACE("dl", r->display(m_ctx, tout << "reduced rule\n"););
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue