3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-07 18:05:21 +00:00

preserve rule names when changing rules

This commit is contained in:
Arie Gurfinkel 2017-07-31 15:38:48 -04:00
parent 5b9bf74787
commit a73023da97

View file

@ -639,7 +639,7 @@ namespace datalog {
tail.push_back(ensure_app(conjs[i].get()));
}
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"););
}
}