Commit 9213d62f authored by ale's avatar ale

bug pvalue

parent ffca5cf0
......@@ -1626,7 +1626,7 @@ function pvalue(chisq::Function,
error("Zero error in fit data")
end
end
W[i] = 1.0 / data[i].err^2
global W[i] = 1.0 / data[i].err^2
end
m = length(data)
......
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