From 57483ac9c8a65ddcfe4c6bdbcb0886bd0dad17ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Tue, 10 Mar 2020 16:24:50 +0200 Subject: [PATCH] Fix cython declarations. Former-commit-id: f6300c94d19349dabc6e9fc034c405c7179223fe --- qpms/qpms_cdefs.pxd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qpms/qpms_cdefs.pxd b/qpms/qpms_cdefs.pxd index 013b0fb..bb4cf9b 100644 --- a/qpms/qpms_cdefs.pxd +++ b/qpms/qpms_cdefs.pxd @@ -170,13 +170,13 @@ ctypedef union qpms_incfield_planewave_params_E: csphvec_t sph cdef extern from "vswf.h": - ctypedef qpms_errno_t (*qpms_incfield_t)(cdouble target, const qpms_vswf_set_spec_t *bspec, + ctypedef qpms_errno_t (*qpms_incfield_t)(cdouble *target, const qpms_vswf_set_spec_t *bspec, const cart3_t evalpoint, const void *args, bint add) ctypedef struct qpms_incfield_planewave_params_t: bint use_cartesian qpms_incfield_planewave_params_k k qpms_incfield_planewave_params_E E - qpms_errno_t qpms_incfield_planewave(cdouble target, const qpms_vswf_set_spec_t *bspec, + qpms_errno_t qpms_incfield_planewave(cdouble *target, const qpms_vswf_set_spec_t *bspec, const cart3_t evalpoint, const void *args, bint add) csphvec_t qpms_vswf_single_el_csph(qpms_m_t m, qpms_l_t n, csph_t kdlj, qpms_bessel_t btyp, qpms_normalisation_t norm) csphvec_t qpms_vswf_single_mg_csph(qpms_m_t m, qpms_l_t n, csph_t kdlj, qpms_bessel_t btyp, qpms_normalisation_t norm)