Commit b5fba358 authored by Médéric Boquien's avatar Médéric Boquien
Browse files

Remove useless intermediate variable.

parent d64b7dee
......@@ -257,9 +257,8 @@ def analysis(idx, obs):
if lim_flag is True:
norm_init = norm_facts
for imod in range(len(model_fluxes)):
norm_facts[imod] = optimize.newton(dchi2_over_ds2, norm_init[imod],
norm_facts[imod] = optimize.newton(dchi2_over_ds2, norm_facts[imod],
args=(obs_fluxes, obs_errors,
model_fluxes[mod, :]))
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