Commit 49586336 authored by Alejandro Saez's avatar Alejandro Saez

bug adding wpm in md_sea

parent fd1fc6e6
...@@ -450,8 +450,8 @@ function md_sea(a::uwreal, md::Vector{Matrix{Float64}}, ow::uwreal, w::Union{uwr ...@@ -450,8 +450,8 @@ function md_sea(a::uwreal, md::Vector{Matrix{Float64}}, ow::uwreal, w::Union{uwr
return nothing return nothing
end end
function md_sea(a::uwreal, md::Vector{Matrix{Float64}}, ow::Array{uwreal}, w::Union{uwreal, Nothing}=nothing, ws::ADerrors.wspace=ADerrors.wsg) function md_sea(a::uwreal, md::Vector{Matrix{Float64}}, ow::Array{uwreal}, w::Union{uwreal, Nothing}=nothing, ws::ADerrors.wspace=ADerrors.wsg, wpm::Union{Dict{Int64,Vector{Float64}},Dict{String,Vector{Float64}}, Nothing}=nothing)
d = [md_sea(a, md, ow_, w, ws) for ow_ in ow] d = [md_sea(a, md, ow_, w, ws, wpm) for ow_ in ow]
return (sum(getindex.(d, 1)), sum(getindex.(d, 2))) return (sum(getindex.(d, 1)), sum(getindex.(d, 2)))
end 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