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.