Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/ext/py-source.c

    r8e76c71 r15c3466  
    574574    } else if (PyLong_AsLong(size) > 0) {
    575575      // short read, return a shorter array
    576       PyArrayObject *shortread = (PyArrayObject*)
    577         PyArray_FROM_OTF(PyTuple_GetItem(done, 0), NPY_NOTYPE,
    578             NPY_ARRAY_ENSURECOPY);
     576      PyArrayObject *shortread = (PyArrayObject*)PyTuple_GetItem(done, 0);
    579577      PyArray_Dims newdims;
    580578      PyObject *reshaped;
Note: See TracChangeset for help on using the changeset viewer.