From 2ef187b7d31a5332577b3c0efb3056d5a46127bf Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 6 Sep 2014 18:18:08 +0800 Subject: [PATCH] py2llvm/values: fix arity of 'not' --- artiq/py2llvm/values.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",