From b038f9229fb7ada07ca252eb57281f2cf67a4e97 Mon Sep 17 00:00:00 2001 From: Ian Harry Date: Thu, 14 Jun 2018 15:57:08 +0200 Subject: [PATCH] removing debug --- lalinference/src/LALInferenceTemplate.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lalinference/src/LALInferenceTemplate.c b/lalinference/src/LALInferenceTemplate.c index 67a9c8b9a3..44182e3393 100644 --- a/lalinference/src/LALInferenceTemplate.c +++ b/lalinference/src/LALInferenceTemplate.c @@ -831,20 +831,19 @@ void LALInferenceTemplateXLALSimInspiralChooseWaveform(LALInferenceModel *model) if((lambda1 > 0) && (lambda2 > 0) && (approximant == TaylorF2)) { /* Start with ISCO */ - f_max = 1. / (pow(6,1.5) * LAL_PI * (m1*lal_MTSUN_SI + m2*lal_MTSUN_SI)); + f_max = 1. / (pow(6,1.5) * LAL_PI * (m1*LAL_MTSUN_SI + m2*LAL_MTSUN_SI)); REAL8 log_lambda1 = log(lambda1); REAL8 log_lambda2 = log(lambda2); REAL8 compactness1 = 0.371 - 0.0391 * log_lambda1 + 0.001056 * log_lambda1 * log_lambda1; REAL8 compactness2 = 0.371 - 0.0391 * log_lambda2 + 0.001056 * log_lambda2 * log_lambda2; - REAL8 rad1 = m1*lal_MTSUN_SI / cness1; - REAL8 rad2 = m2*lal_MTSUN_SI / cness2; + REAL8 rad1 = m1*LAL_MTSUN_SI / compactness1; + REAL8 rad2 = m2*LAL_MTSUN_SI / compactness2; /* Use the smaller of ISCO and the EOS-dependent termination */ - REAL8 fmax_eos = 1. / LAL_PI * pow((m1*lal_MTSUN_SI + m2*lal_MTSUN_SI) / pow((rad1 + rad2),3.0),0.5) + REAL8 fmax_eos = 1. / LAL_PI * pow((m1*LAL_MTSUN_SI + m2*LAL_MTSUN_SI) / pow((rad1 + rad2),3.0),0.5); if (fmax_eos < f_max) { f_max = fmax_eos; } - fprintf(stderr, "%e %e \n", f_max, fmax_eos); } /* Add derived quantities for output */ -- GitLab