[Numpy-discussion] numpy ndarray questions

Sturla Molden sturla at molden.no
Tue Jan 27 06:40:09 EST 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