Skip to content

Commit

Permalink
changed types back
Browse files Browse the repository at this point in the history
  • Loading branch information
Laura1110 committed Apr 20, 2022
1 parent 12b27d6 commit 3405307
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/analysis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function get_GSI(
variances = norms(a.fc[λ],dict = true)
end

return Dict{Vector{Int},Float64}(Dict((u,variances[u]^2/variance_f) for u in keys(variances)))
return Dict((u,variances[u]^2/variance_f) for u in keys(variances))

else
return variances ./ variance_f
Expand All @@ -52,7 +52,7 @@ function get_GSI(
a::approx;
dict::Bool = false,
)::Dict{Float64,Union{Vector{Float64},Dict{Vector{Int},Float64}}}
return Dict{Float64,Union{Vector{Float64},Dict{Vector{Int},Float64}}}=> get_GSI(a, λ, dict = dict) for λ in collect(keys(a.fc)))
return Dict=> get_GSI(a, λ, dict = dict) for λ in collect(keys(a.fc)))
end

@doc raw"""
Expand Down

0 comments on commit 3405307

Please sign in to comment.