[Numpy-discussion] performance problem

Travis Oliphant oliphant.travis at ieee.org
Mon Jan 30 00:53:02 EST 2006


Gerard Vermeulen wrote:

>coercion issue snipped
>  
>

In current SVN, I think improved on the current state by only calling a 
scalar a signed integer if it is actually negative (previously only it's 
data-type was checked and all Python integers get converted to 
PyArray_LONG data-types which are signed integers).

This fixes the immediate problem, I think.

What are opinions on this scalar-coercion rule?

-Travis






More information about the NumPy-Discussion mailing list