typo
authorStefan Behnel <scoder@users.berlios.de>
Fri, 26 Nov 2010 10:37:02 +0000 (11:37 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 26 Nov 2010 10:37:02 +0000 (11:37 +0100)
Cython/Compiler/Optimize.py

index c480278e3a497758df262f7e1f54c8d5fe380667..5e4dd32a7dac3a1b364c6c5b1a669de87f46b043 100644 (file)
@@ -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: