Skip to content

Commit

Permalink
Got rid of call to Py_TYPE.
Browse files Browse the repository at this point in the history
  • Loading branch information
swarts committed Jul 16, 2010
1 parent 32f6a71 commit 4edb825
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions numpy/core/src/libnumpy/npy_convert_datatype.c
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,7 @@ NpyArray_CastToType(NpyArray *mp, NpyArray_Descr *at, int fortran)
mp->dimensions,
NULL, NULL,
fortran, NPY_FALSE,
Py_TYPE(mp),
(PyObject *)mp);
NULL, mp);

if (out == NULL) {
return NULL;
Expand Down

0 comments on commit 4edb825

Please sign in to comment.