[Numpy-discussion] numpy ndarray questions

Sturla Molden sturla@molden...
Tue Jan 27 05:40:09 CST 2009


On 1/27/2009 12:37 PM, Sturla Molden wrote:

>      address = fftw_malloc(N * d.nbytes) # restype = ctypes.c_ulong
>      if (address = 0): 
        if (address == ): raise MemoryError, 'fftw_malloc returned NULL'


Sorry for the typo.


S.M.



More information about the Numpy-discussion mailing list