From 2dffff6260e98b614ae3d29747a3ace5fe6e8e68 Mon Sep 17 00:00:00 2001
From: Tyson Littenberg <tyson.littenberg@ligo.org>
Date: Tue, 14 Jul 2020 12:37:43 -0500
Subject: [PATCH] fix psi range in Laplace approx

---
 src/BayesWaveEvidence.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/BayesWaveEvidence.c b/src/BayesWaveEvidence.c
index bd0a10d0..7d2fe711 100644
--- a/src/BayesWaveEvidence.c
+++ b/src/BayesWaveEvidence.c
@@ -2410,7 +2410,7 @@ void LaplaceApproximation(struct Data *data, struct Model *model, struct Chain *
       dim+=4;
       logV += log(LAL_TWOPI); //r.a.
       logV += log(2.);        //sindec
-      logV += log(LAL_TWOPI); //psi
+      logV += log(LAL_PI); //psi
       logV += log(2.);        //ecc
 
       //intrinsic
-- 
GitLab