3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 03:15:50 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-02-17 19:37:47 -10:00
parent 1959b7c48a
commit f810f25d8d
4 changed files with 10 additions and 11 deletions

View file

@ -74,7 +74,7 @@ namespace datalog {
}
~scoped_query() {
m_ctx.reopen();
m_ctx.ensure_opened();
m_ctx.restrict_predicates(m_preds);
m_ctx.replace_rules(m_rules);
if (m_was_closed) {