We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
The function isinstance(expr1, NotOp) does not work correctly. It returns False.
Python 3.12.1 OS Win 11 pyeda in .venv\lib\site-packages (0.29.0)
from pyeda.inter import exprvar, Not from pyeda.boolalg.expr import NotOp a = exprvar('a') b = exprvar('b') expr1 = Not(a) expr2 = ~b is_expr1_notop = isinstance(expr1, NotOp) is_expr2_notop = isinstance(expr2, NotOp) print(f"expr1 is NotOp: {is_expr1_notop}") print(f"expr2 is NotOp: {is_expr2_notop}")
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
The function isinstance(expr1, NotOp) does not work correctly. It returns False.
Python 3.12.1
OS Win 11
pyeda in .venv\lib\site-packages (0.29.0)
The text was updated successfully, but these errors were encountered: