step towards actually testing boolean evaluation on random formulas
This commit is contained in:
parent
7d8cf78222
commit
75042d0dc4
5 changed files with 17 additions and 20 deletions
|
|
@ -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}"
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue