File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -3804,7 +3804,6 @@ AK_nonzero_1d(PyArrayObject* array) {
38043804 return final ;
38053805}
38063806
3807-
38083807static PyObject *
38093808nonzero_1d (PyObject * Py_UNUSED (m ), PyObject * a ) {
38103809 AK_CHECK_NUMPY_ARRAY (a );
@@ -6251,14 +6250,12 @@ TriMap_register_unmatched_dst(TriMapObject *self) {
62516250 return NULL ;
62526251 }
62536252 // derive indices for unmatched locations, call each with register_one
6254- // PyObject* nonzero = PyArray_Nonzero(dst_unmatched);
62556253 PyArrayObject * indices = (PyArrayObject * )AK_nonzero_1d (dst_unmatched );
62566254 if (indices == NULL ) {
62576255 Py_DECREF ((PyObject * )dst_unmatched );
62586256 return NULL ;
62596257 }
62606258 // borrow ref to array in 1-element tuple
6261- // PyArrayObject *indices = (PyArrayObject*)PyTuple_GET_ITEM(nonzero, 0);
62626259 npy_int64 * index_data = (npy_int64 * )PyArray_DATA (indices );
62636260 npy_intp index_len = PyArray_SIZE (indices );
62646261
You can’t perform that action at this time.
0 commit comments