From 63da80c515d5c6e58c8b3aa8feeafc5daaa592cc Mon Sep 17 00:00:00 2001 From: Sebastian Heimann Date: Wed, 20 Nov 2024 18:04:36 +0100 Subject: [PATCH] fix compilation issue --- kite/ext/covariance.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kite/ext/covariance.c b/kite/ext/covariance.c index e7192b5..6ef01ad 100644 --- a/kite/ext/covariance.c +++ b/kite/ext/covariance.c @@ -322,12 +322,12 @@ static PyObject* w_get_finished_combinations(PyObject *m) { static PyMethodDef CovarianceExtMethods[] = { { "covariance_matrix", - (PyCFunctionWithKeywords) w_calc_covariance_matrix, + (PyCFunction)(void(*)(void))w_calc_covariance_matrix, METH_VARARGS | METH_KEYWORDS, "Calculates the covariance matrix for full resolution." }, { "get_finished_combinations", - (PyCFunction) w_get_finished_combinations, + (PyCFunction)(void(*)(void))w_get_finished_combinations, METH_NOARGS, "Get the number of calculated combinations. Total combinations are nleaves*(nleaves+1)/2." }, {NULL, NULL} /* Sentinel */