Hi,

I have been having trouble with the PyArray_Zeros/PyArray_ZEROS functions. I
cannot seem to create an array using these functions.

resultArray = PyArray_ZEROS(otherArray->nd, otherArray->dimensions,
NPY_DOUBLE, 0);

I would have thought this would have created an array the same shape as the
otherArray, just filled with zeros...

But I seem to get an error.

Am I doing something obviously wrong?

Hanni
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to