From e689df15fd9a8cc61ef15413e3a56d7e4c2a4321 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Wed, 7 Feb 2018 17:33:08 +0200 Subject: [PATCH] fix broken syntax in translations.c Former-commit-id: 46444199859568e0a34bceadef5a017f6bcb7480 --- qpms/translations.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qpms/translations.c b/qpms/translations.c index 177e799..6ecdc16 100644 --- a/qpms/translations.c +++ b/qpms/translations.c @@ -260,6 +260,8 @@ complex double qpms_trans_single_B_Xu(int m, int n, int mu, int nu, sph_t kdlj, complex double prenormratio = ipow(nu-n) * sqrt(((2.*nu+1)/(2.*n+1))* exp( lgamma(n+m+1)-lgamma(n-m+1)+lgamma(nu-mu+1)-lgamma(nu+mu+1))); + return (presum / prenormratio) * sum; +} complex double qpms_trans_single_B_Taylor(int m, int n, int mu, int nu, sph_t kdlj,