From 78e134ede7646bacfaaafb71172fd4f86b890d0f Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Thu, 3 Mar 2011 11:07:23 -0800 Subject: [PATCH] Fix compile time division. --- Cython/Compiler/ExprNodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index c9652510..1fe85384 100755 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -5992,7 +5992,7 @@ class DivNode(NumBinopNode): operand2 = self.operand2.compile_time_value(denv) try: func = self.find_compile_time_binary_operator( - self, operand1, operand2) + operand1, operand2) return func(operand1, operand2) except Exception, e: self.compile_time_value_error(e) -- 2.26.2