Commit 27a13fc9 authored by Alberto Ramos's avatar Alberto Ramos

Proper definition of err function

parent 166a07fd
...@@ -718,6 +718,7 @@ window(a::uwreal, str::String) = window(a, get_id_from_name(str)) ...@@ -718,6 +718,7 @@ window(a::uwreal, str::String) = window(a, get_id_from_name(str))
rho(a::uwreal, str::String) = rho(a, get_id_from_name(str)) rho(a::uwreal, str::String) = rho(a, get_id_from_name(str))
drho(a::uwreal, str::String) = drho(a, get_id_from_name(str)) drho(a::uwreal, str::String) = drho(a, get_id_from_name(str))
mchist(a::uwreal, str::String) = mchist(a, get_id_from_name(str)) mchist(a::uwreal, str::String) = mchist(a, get_id_from_name(str))
err(a::uwreal, str::String) = err(a, get_id_from_name(str))
empt = Dict{Int64,Vector{Float64}}() empt = Dict{Int64,Vector{Float64}}()
......
...@@ -45,8 +45,7 @@ function err(a::uwreal) ...@@ -45,8 +45,7 @@ function err(a::uwreal)
return a.err return a.err
end end
err(a::uwreal, mcid::Int64) = sqrt(a.cfd[mcid].var) err(a::uwreal, mcid::Int64) = sqrt(a.cfd[find_mcid(a, mcid)].var)
err(a::uwreal, str::String) = err(a, get_id_from_name(str))
""" """
value(a::uwreal) value(a::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