bankofcanada / StateSpaceEcon.jl

BSD 3-Clause "New" or "Revised" License
49 stars 9 forks source link

`dict2array` doesn't support new type assigned to m.varshk #17

Closed mariusmjp closed 4 years ago

mariusmjp commented 4 years ago

Hi

I noticed an issue with dict2array which doesn't support the new type assigned to m.varshk (Array{ModelBaseEcon.ModelSymbol,1}):

issue with m varshks

bbejanov commented 4 years ago

The new SimData type is meant for supplying exogenous data and holding the simulation results. Have you tried that, instead of a Dict? If SimData is missing some feature you need, I'd rather add that feature so you'd use it. Use of Dict and Array for this purpose will likely be discontinued.

mariusmjp commented 4 years ago

No really,

I'm not sure I understand what you want to say. db_j is essentially a collect of several database which are used with fame2series which returns Dict. But I will test and let you know.

bbejanov commented 4 years ago

Fix will be available in the upcoming version 0.2