diff --git a/qpms/wigner.c b/qpms/wigner.c index 80cf86b..7f7cfab 100644 --- a/qpms/wigner.c +++ b/qpms/wigner.c @@ -54,12 +54,12 @@ complex double qpms_wignerD_elem(const qpms_quat_t R, } } -complex double qpms_vswf_irot_elem_from_irot3(const_qpms_irot3_t q, - qpms_l_t l, qpms_m_t mp, qpms_m_t m, bool pseudo) { +complex double qpms_vswf_irot_elem_from_irot3(const qpms_irot3_t q, + const qpms_l_t l, const qpms_m_t mp, const qpms_m_t m, bool pseudo) { #ifndef NDEBUG qpms_irot3_checkdet(q); #endif - complex double res = qpms_wignerD_elem(q.rot, l, mp); + complex double res = qpms_wignerD_elem(q.rot, l, mp, m); if (q.det == -1) { res *= min1pow(l); if (pseudo)