Skip to content

Commit

Permalink
dimension of weight not specified due to edge case
Browse files Browse the repository at this point in the history
  • Loading branch information
holgerteichgraeber authored Apr 29, 2019
1 parent e4890ea commit a848a39
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/utils/datastructs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ struct ClustData <: TSData
K::Int
T::Int
data::Dict{String,Array}
weights::Array{AbstractFloat,2}
weights::Array{AbstractFloat}
mean::Dict{String,Array}
sdv::Dict{String,Array}
delta_t::Array{AbstractFloat,2}
Expand All @@ -45,7 +45,7 @@ struct ClustDataMerged <: TSData
T::Int
data::Array
data_type::Array{String}
weights::Array{AbstractFloat,2}
weights::Array{AbstractFloat}
mean::Dict{String,Array}
sdv::Dict{String,Array}
delta_t::Array{AbstractFloat,2}
Expand Down Expand Up @@ -149,7 +149,7 @@ end
el_demand::Array=[],
solar::Array=[],
wind::Array=[],
weights::Array{AbstractFloat,2}=ones(K),
weights::Array{AbstractFloat}=ones(K),
mean::Dict{String,Array}=Dict{String,Array}(),
sdv::Dict{String,Array}=Dict{String,Array}(),
delta_t::Array{AbstractFloat,2}=ones(T,K),
Expand All @@ -165,7 +165,7 @@ function ClustData(region::String,
el_demand::Array=[],
solar::Array=[],
wind::Array=[],
weights::Array{AbstractFloat,2}=ones(K),
weights::Array{AbstractFloat}=ones(K),
mean::Dict{String,Array}=Dict{String,Array}(),
sdv::Dict{String,Array}=Dict{String,Array}(),
delta_t::Array{AbstractFloat,2}=ones(T,K),
Expand Down Expand Up @@ -212,7 +212,7 @@ end
K::Int,
T::Int,
data::Dict{String,Array},
weights::Array{AbstractFloat,2},
weights::Array{AbstractFloat},
delta_t::Array{AbstractFloat,2},
k_ids::Array{Int,1};
mean::Dict{String,Array}=Dict{String,Array}(),
Expand All @@ -225,7 +225,7 @@ function ClustData(region::String,
K::Int,
T::Int,
data::Dict{String,Array},
weights::Array{AbstractFloat,2},
weights::Array{AbstractFloat},
delta_t::Array{AbstractFloat,2},
k_ids::Array{Int,1};
mean::Dict{String,Array}=Dict{String,Array}(),
Expand Down Expand Up @@ -278,7 +278,7 @@ end
T::Int,
data::Array,
data_type::Array{String},
weights::Array{AbstractFloat,2},
weights::Array{AbstractFloat},
k_ids::Array{Int,1};
delta_t::Array{AbstractFloat,2}=ones(T,K),
mean::Dict{String,Array}=Dict{String,Array}(),
Expand All @@ -292,7 +292,7 @@ function ClustDataMerged(region::String,
T::Int,
data::Array,
data_type::Array{String},
weights::Array{AbstractFloat,2},
weights::Array{AbstractFloat},
k_ids::Array{Int,1};
delta_t::Array{AbstractFloat,2}=ones(T,K),
mean::Dict{String,Array}=Dict{String,Array}(),
Expand Down

0 comments on commit a848a39

Please sign in to comment.