On Jun 22, 2008, at 9:56 PM, Gael Varoquaux wrote:

> Thanks for your answer, Greg,
>
> The problem was with a typo in a type definition. As a result, one  
> of the
> floats was being treated as a Python float. Eric Firing found this.

That would do it to you...running Cython with the -a (annotate)  
option will make it easy to detect this kind of thing.

On another note, cdef functions can be declared as "inline" which  
will emit the appropriate pragma to the C compiler to produce the  
same effect (with less work) than manually inlining.

- Robert
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to