step towards actually testing boolean evaluation on random formulas

This commit is contained in:
Marcell Vazquez-Chanlatte 2017-10-31 20:54:57 -07:00
parent 7d8cf78222
commit 75042d0dc4
5 changed files with 17 additions and 20 deletions

View file

@ -140,7 +140,7 @@ class Var(namedtuple("Var", ["coeff", "id"])):
elif self.coeff == +1:
coeff_str = ""
else:
coeff_str = f"{self.coeff}*"
coeff_str = f"{self.coeff}"
return f"{coeff_str}{self.id}"