[Numpy-discussion] Change of signature for copyswap function ?

2006-08-10 Thread Pierre Barbier de Reuille
Hi, in my documentation, the copyswap function in the PyArray_ArrFuncs structure is supposed to have this signature: copyswap (void) (void* dest, void* src, int swap, int itemsize) However, in the latest version of NumPy, the signature is: copyswap (void) (void*, void*, int, void*) My question

Re: [Numpy-discussion] "boolean" type

2006-07-24 Thread Pierre Barbier de Reuille
Ivan Vilata i Balaguer wrote: > En/na Pierre Barbier de Reuille ha escrit:: > > >>>>> import numpy >>>>> numpy.__version__ >>>>> >> '0.9.9.2852' >> >>>>> numpy.bool_ >>&

Re: [Numpy-discussion] "boolean" type

2006-07-24 Thread Pierre Barbier de Reuille
Ivan Vilata i Balaguer wrote: > Hi all, > > Since there is a "string" type which is the same as "str_", how come > there is no "boolean" type which is the same as "bool_"? Did I miss > some design decision about naming? You know, just for completeness, not > that it is some kind of problem at all

Re: [Numpy-discussion] What to do about numarray extension modules?

2006-07-18 Thread Pierre Barbier de Reuille
Sebastian Haase wrote: > I'm using nd_image extensively. Considering that SciPy seem to install much > easier these days than I remember I would be just happy to put them in to > SciPy. > Well, what is the content of nd_image and image, compared to scipy.ndimage ? > Some numarray people pref

[Numpy-discussion] ImportError while creating a Python module using NumPy

2006-06-16 Thread Pierre Barbier de Reuille
Hi, I have an extension library which I wanted to interface with NumPy ... So I added the import_array() and all the needed stuff so that it now compiles. However, when I load the library I obtain : ImportError: No module named core.multiarray I didn't find anything on the net about it, what cou