3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 20:05:51 +00:00

Fixing issue #605 rlimit responsiveness in mam

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-05-16 08:35:04 -07:00
parent d11d9bd1de
commit f1b63691d8
5 changed files with 37 additions and 30 deletions

View file

@ -188,9 +188,8 @@ namespace datalog {
if (m_trail.get_num_scopes() == 0) {
throw default_exception("there are no backtracking points to pop to");
}
if(m_engine.get()){
if(get_engine() != DUALITY_ENGINE)
throw default_exception("operation is not supported by engine");
if (m_engine.get() && get_engine() != DUALITY_ENGINE) {
throw default_exception("pop operation is only supported by duality engine");
}
m_trail.pop_scope(1);
}