Commit bfc90bdd authored by Alberto Ramos's avatar Alberto Ramos

Added chiexp computation for correlated fits

parent 6a8d86c4
...@@ -156,7 +156,7 @@ function chiexp(chisq::Function, ...@@ -156,7 +156,7 @@ function chiexp(chisq::Function,
xp::Vector{Float64}, xp::Vector{Float64},
data::Vector{uwreal}, data::Vector{uwreal},
wpm::Dict{Int64,Vector{Float64}}; wpm::Dict{Int64,Vector{Float64}};
W::Vector{Float64} = Vector{Float64}()) W::Union{Vector{Float64},Array{Float64,2}} = Vector{Float64}())
n = length(xp) # Number of fit parameters n = length(xp) # Number of fit parameters
m = length(data) # Number of data m = length(data) # Number of 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