Merge pull request #3519 from ekliptik/master

smt2/smtbmc: Fix mathsat counterexample VCD dump crash
This commit is contained in:
Claire Xen 2024-02-20 13:40:30 +01:00 committed by GitHub
commit c734b2bfe5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -920,7 +920,7 @@ class SmtIo:
if len(expr_list) == 0:
return []
self.write("(get-value (%s))" % " ".join(expr_list))
return [n[1] for n in self.parse(self.read())]
return [n[1] for n in self.parse(self.read()) if n]
def get_path(self, mod, path):
assert mod in self.modinfo