diff --git a/artiq/py2llvm/values.py b/artiq/py2llvm/values.py index 6b9e5d1f8..4dfdc20bc 100644 --- a/artiq/py2llvm/values.py +++ b/artiq/py2llvm/values.py @@ -432,7 +432,7 @@ def _make_operators(): for op_name in ("bool", "int", "int64", "round", "round64", "inv", "pos", "neg"): d[op_name] = _make_unary_operator(op_name) - d["not_"] = _make_binary_operator("not") + d["not_"] = _make_unary_operator("not") for op_name in ("add", "sub", "mul", "truediv", "floordiv", "mod", "pow", "lshift", "rshift", "xor",