Commit 3349d0ba authored by Médéric Boquien's avatar Médéric Boquien

Correct typo in variable name.

parent 807cd32b
......@@ -257,7 +257,7 @@ def compute_chi2(models, obs, corr_dz, wz, lim_flag):
# Computation of the χ² from intensive properties
for name, prop in obs.intprop.items():
model = models.intprop[name][wz]
chi2 += ((prop - model) * (1. / obs.intprops_err[name])) ** 2.
chi2 += ((prop - model) * (1. / obs.intprop_err[name])) ** 2.
# Computation of the χ² from extensive properties
for name, prop in obs.extprop.items():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment