You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have reproduced this same issue. The minimal expression that causes this issue is 'NOT (FALSE)'. The problem is here. The self.TRUE and self.FALSE instances of DualBase are given instances not classes of _TRUE and _FALSE. I have come up with the following workaround:
A more permanent solution would be to change the __init__ method of BooleanAlgebra like so:
self.TRUE_class=TRUE_classor_TRUEself.TRUE=self.TRUE_class()
self.FALSE_class=FALSE_classor_FALSEself.FALSE=self.FALSE_class()
# they cross-reference each otherself.TRUE.dual=self.FALSE_classself.FALSE.dual=self.TRUE_class
I've ran into a problem while using simplify with a few expressions, even though they are valid and have not apparent reason to cause these errors.
One thing I noticed is that if I remove the 'not' symbol from them, they'll work "correctly"
Cases where "TypeError: '_FALSE' object is not callable" is raised:
Cases where "TypeError: '_TRUE' object is not callable" is raised:
The text was updated successfully, but these errors were encountered: