Commit d58bc74f authored by Javier's avatar Javier

minor bug fixed (md_val)

error array lengths
parent fbf1f3a0
......@@ -352,7 +352,7 @@ function md_val(a::uwreal, obs::Corr, derm::Vector{Corr})
fluc_ow = vcat(fluc_ow'...)
ow_data = ow_mean .+ ws.fluc[n_ow]
=#
der = a.der[n_ow] * w_mean
der = length(a.der) >= maximum(n_ow) ? a.der[n_ow] * w_mean : 0.0
else
return nothing
end
......
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