aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2019-12-12 09:46:03 -0600
committertlatorre <tlatorre@uchicago.edu>2019-12-12 09:46:03 -0600
commit709ae1f3da9d0feb0b29ca22979ddd93605c7646 (patch)
tree8f2592691f37c052ac17f1ca76dccb98af303722
parent0a8921c928af7d30a315caa5b1e52e374da90b80 (diff)
downloadsddm-709ae1f3da9d0feb0b29ca22979ddd93605c7646.tar.gz
sddm-709ae1f3da9d0feb0b29ca22979ddd93605c7646.tar.bz2
sddm-709ae1f3da9d0feb0b29ca22979ddd93605c7646.zip
fix typo in bisect_energy() where I forgot to use the actual distance to the PSUP
-rw-r--r--src/fit.c2
1 files changed, 1 insertions, 1 deletions
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;