Commit fa5489e8 authored by Antonino D'Anna's avatar Antonino D'Anna

Bugfix in md_sea

parent f6529b67
......@@ -527,7 +527,9 @@ function md_sea(a::uwreal, md::Vector{Matrix{Float64}}, ow::uwreal, w::Union{uwr
end
nrw = size(md_aux, 1)
isnothing(wpm) ? uwerr(ow) : uwerr(ow,wpm)
# AD: We only need the mchist and mean value, we don't care about the error, so why we do need wpm?
# isnothing(wpm) ? uwerr(ow) : uwerr(ow,wpm)
uwerr(ow,Dict(id=>[1.0,-1.0,-1.0,-1.0]))
ow_data = ow.mean .+ mchist(ow, id)
if isnothing(w)
......
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