Skip to content

Commit

Permalink
Merge pull request #36 from cesaraustralia/modeltuple
Browse files Browse the repository at this point in the history
Modeltuple
  • Loading branch information
rafaqz committed Dec 16, 2020
2 parents d26a925 + 22e06f6 commit 8339390
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ UnitfulRecipes = "42071c24-d89e-48dd-8a24-8a12d9b8861f"

[compat]
ConstructionBase = "1"
GeoData = "0.2"
GeoData = "0.3"
InteractModels = "0.3"
LsqFit = "0.10, 0.11"
ModelParameters = "0.3"
Plots = "1"
Reexport = "0.2"
Unitful = "1.0"
Unitful = "1"
UnitfulRecipes = "1"
julia = "1"

Expand Down
2 changes: 1 addition & 1 deletion src/framework.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ mapgrowth(layers::Layer...; kw...) = mapgrowth(layers; kw...)
mapgrowth(layers::Tuple{<:Layer,Vararg}; kw...) = mapgrowth(Model(layers); kw...)
mapgrowth(model::Model; kw...) = mapgrowth((model,); kw...)[1]
mapgrowth(m1::Model, ms::Model...; kw...) = mapgrowth((m1, ms...); kw...)
function mapgrowth(models::Union{Tuple{<:Model,Vararg},NamedTuple{<:Any,Tuple{<:Model,Vararg}}};
function mapgrowth(models::Union{Tuple{<:Model,Vararg},NamedTuple{<:Any,<:Tuple{<:Model,Vararg}}};
series::AbstractGeoSeries, tspan::AbstractRange, arraytype=Array
)
models = map(stripparams parent, models)
Expand Down

0 comments on commit 8339390

Please sign in to comment.