From 709ae1f3da9d0feb0b29ca22979ddd93605c7646 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Thu, 12 Dec 2019 09:46:03 -0600 Subject: fix typo in bisect_energy() where I forgot to use the actual distance to the PSUP --- src/fit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fit.c b/src/fit.c index 9a94ec6..e1fe3b8 100644 --- a/src/fit.c +++ b/src/fit.c @@ -5294,7 +5294,7 @@ int bisect_energy(double qhs_sum, double distance, int id, double cos_theta, dou n_d2o = get_index_snoman_d2o(400.0); pars.id = id; - pars.distance = 840.0; + pars.distance = distance; pars.qhs_sum = qhs_sum; pars.cos_theta = cos_theta; -- cgit