mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #3519 from ekliptik/master
smt2/smtbmc: Fix mathsat counterexample VCD dump crash
This commit is contained in:
commit
c734b2bfe5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue