Commit 79a79a15 authored by Antonino D'Anna's avatar Antonino D'Anna

small change

parent 0aa16ede
......@@ -1313,7 +1313,7 @@ function fit_routine(model::Function,
chisq(p,d) = get_chi(model,xdata,p,d,W)
chi2 = sum(fit.resid.^2)
par = fit_error(chisq,LsqFit.coef(fit),ydata,wpm,W,false)
# if the fit is we have already C, no need to recompute it.
# if the fit is correlated we have already C, no need to recompute it.
chiexp,pval = if length(C) !=0
GammaMethod.chiexp(chisq,LsqFit.coef(fit),value.(ydata),C,W),juobs.pvalue(chisq,chi2,LsqFit.coef(fit),ydata,W,C=C)
else
......
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