Skip to content

Commit

Permalink
removed a decref
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Luca van den Busch committed Jan 28, 2024
1 parent 11334ec commit 8074f56
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion balltree/balltree.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ static PyArrayObject *weight_ensure_1dim_double_exists(PyObject *weight_obj, npy
if (temp_tuple == NULL) {
return NULL;
}
Py_DECREF(weight_obj);
weight_obj = temp_tuple; // temporary tuple, must decref after use
}
weight_arr = (PyArrayObject *)PyArray_FromAny(
Expand Down

0 comments on commit 8074f56

Please sign in to comment.