예제 #1
0
파일: yices.py 프로젝트: sureshgl/pysmt
 def pop(self, levels=1):
     for _ in xrange(levels):
         if self.failed_pushes > 0:
             self.failed_pushes -= 1
         else:
             c = libyices.yices_pop(self.yices)
             if c != 0:
                 raise InternalSolverError("Error in pop: %s" % \
                                           libyices.yices_error_string())
예제 #2
0
파일: yices.py 프로젝트: iambrosie/pysmt
 def pop(self, levels=1):
     for _ in xrange(levels):
         c = libyices.yices_pop(self.yices)
         assert c == 0
예제 #3
0
 def pop(self, levels=1):
     for _ in xrange(levels):
         c = libyices.yices_pop(self.yices)
         assert c == 0