Commit 8374ab9d authored by Alberto Ramos's avatar Alberto Ramos

Corrected bug in function calling.

Thanks to P. Fritzsch
parent a37be117
...@@ -210,7 +210,7 @@ chiexp(chisq::Function, ...@@ -210,7 +210,7 @@ chiexp(chisq::Function,
data::Vector{uwreal}, data::Vector{uwreal},
wpm::Dict{String,Vector{Float64}}; wpm::Dict{String,Vector{Float64}};
W::Vector{Float64} = Vector{Float64}()) = W::Vector{Float64} = Vector{Float64}()) =
chiexp(chisq, xp, data, dict_names_to_id(wpm), W=W) chiexp(chisq, xp, data, dict_name_to_id(wpm), W=W)
...@@ -397,7 +397,7 @@ fit_error(chisq::Function, ...@@ -397,7 +397,7 @@ fit_error(chisq::Function,
wpm::Dict{String,Vector{Float64}}; wpm::Dict{String,Vector{Float64}};
W::Union{Vector{Float64}, Array{Float64,2}} = Vector{Float64}(), W::Union{Vector{Float64}, Array{Float64,2}} = Vector{Float64}(),
chi_exp::Bool = true) = chi_exp::Bool = true) =
fit_error(chisq, xp, data, dict_names_to_id(wpm), W, chi_exp) fit_error(chisq, xp, data, dict_name_to_id(wpm), W, chi_exp)
@doc raw""" @doc raw"""
int_error(fint::Function, a, b, p::Vector{uwreal}) int_error(fint::Function, a, b, p::Vector{uwreal})
......
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