1. Arlen Cox
  2. z3

Commits

Leonardo de Moura  committed 33c1654

fixed solver_na2as

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>

  • Participants
  • Parent commits d545f18
  • Branches master

Comments (0)

Files changed (1)

File src/solver/solver_na2as.cpp

View file
  • Ignore whitespace
 }
 
 solver_na2as::~solver_na2as() {
-    reset();
+    if (m_manager)
+        restore_assumptions(0);
 }
 
 void solver_na2as::assert_expr(expr * t, expr * a) {
 }
 
 void solver_na2as::reset() {
+    reset_core();
     if (m_manager)
         restore_assumptions(0);
 }