Skip to content

Commit 6097727

Browse files
committed
fix return none ref count
1 parent 2e24cc2 commit 6097727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roboticstoolbox/core/fknm.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ extern "C"
186186
Py_DECREF(py_np_q);
187187
}
188188

189-
return Py_None;
189+
Py_RETURN_NONE;
190190
}
191191

192192
static PyObject *ETS_hessian0(PyObject *self, PyObject *args)

0 commit comments

Comments
 (0)