From 512cdc7a633e770924734a395da422aed2a9bf25 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 26 Nov 2010 11:37:02 +0100 Subject: [PATCH] typo --- Cython/Compiler/Optimize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Compiler/Optimize.py b/Cython/Compiler/Optimize.py index c480278e..5e4dd32a 100644 --- a/Cython/Compiler/Optimize.py +++ b/Cython/Compiler/Optimize.py @@ -1827,7 +1827,7 @@ class OptimizeBuiltinCalls(Visitor.EnvTransform): # Note: this requires the float() function to be typed as # returning a C 'double' if len(pos_args) == 0: - return ExprNode.FloatNode( + return ExprNodes.FloatNode( node, value="0.0", constant_result=0.0 ).coerce_to(Builtin.float_type, self.current_env()) elif len(pos_args) != 1: -- 2.26.2