pNbody/src4fbc3430dc96master
pNbody/src
4fbc3430dc96master
src
src
Readme
Readme
PyArray_FromDims --> PyArray_SimpleNew
ltot = (PyArrayObject *) PyArray_FromDims(1,ld,PyArray_FLOAT);
npy_intp ld[1]; out = (PyArrayObject *) PyArray_SimpleNew(idx->nd,idx->dimensions,NPY_FLOAT);
#include <numpy/libnumarray.h>
numpy/arrayobject.h
c4science · Help