Skip to content

Defining intitial value for parameters as a vector for each parameter #100

@Mehdilotfi7

Description

@Mehdilotfi7

Hi, and thank you for your excellent package.
I am trying to estimate the parameters of an age structure model, so in this kind of model, elements of the initial value for the parameters are vectors; when I define the initial condition as above, I receive this error:
How can I solve it? Is there any method for that?
MethodError: no method matching (Vector)(::Matrix{Float64})
Closest candidates are:
(Array{T, N} where T)(::AbstractArray{S, N}) where {S, N} at ~/.local/julia-1.7.3/share/julia/base/boot.jl:479
(Vector)() at ~/.local/julia-1.7.3/share/julia/base/baseext.jl:38
(Vector)(::DataFrames.GroupKey) at ~/.julia/packages/DataFrames/zqFGs/src/groupeddataframe/groupeddataframe.jl:617

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions