From: Stefan Behnel Date: Fri, 26 Nov 2010 10:37:02 +0000 (+0100) Subject: typo X-Git-Tag: 0.14.alpha0~68 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=512cdc7a633e770924734a395da422aed2a9bf25;p=cython.git typo --- 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: