smtbmc: Force nonincremental mode when yices is used with forall

This commit is contained in:
Jannis Harder 2022-06-03 16:45:23 +02:00
parent d88a5d26b7
commit ab9e887dee
1 changed files with 4 additions and 1 deletions

View File

@ -176,7 +176,10 @@ class SmtIo:
self.unroll = False
if self.solver == "yices":
if self.noincr or self.forall:
if self.forall:
self.noincr = True
if self.noincr:
self.popen_vargs = ['yices-smt2'] + self.solver_opts
else:
self.popen_vargs = ['yices-smt2', '--incremental'] + self.solver_opts