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) {
3804
3804
return final ;
3805
3805
}
3806
3806
3807
-
3808
3807
static PyObject *
3809
3808
nonzero_1d (PyObject * Py_UNUSED (m ), PyObject * a ) {
3810
3809
AK_CHECK_NUMPY_ARRAY (a );
@@ -6251,14 +6250,12 @@ TriMap_register_unmatched_dst(TriMapObject *self) {
6251
6250
return NULL ;
6252
6251
}
6253
6252
// derive indices for unmatched locations, call each with register_one
6254
- // PyObject* nonzero = PyArray_Nonzero(dst_unmatched);
6255
6253
PyArrayObject * indices = (PyArrayObject * )AK_nonzero_1d (dst_unmatched );
6256
6254
if (indices == NULL ) {
6257
6255
Py_DECREF ((PyObject * )dst_unmatched );
6258
6256
return NULL ;
6259
6257
}
6260
6258
// borrow ref to array in 1-element tuple
6261
- // PyArrayObject *indices = (PyArrayObject*)PyTuple_GET_ITEM(nonzero, 0);
6262
6259
npy_int64 * index_data = (npy_int64 * )PyArray_DATA (indices );
6263
6260
npy_intp index_len = PyArray_SIZE (indices );
6264
6261
You can’t perform that action at this time.
0 commit comments