Error message in HeteroAgentStationaryEqm_Case1_FHorz

Hi Robert,

When I run some OLG models, there is an error message:

Unrecognized field name “n_e”.

Error in HeteroAgentStationaryEqm_Case1_FHorz (line 244)
if prod(simoptions.n_e)>0
^^^^^^^^^^^^^^
Error in OLGModel1 (line 150)
p_eqm=HeteroAgentStationaryEqm_Case1_FHorz(jequaloneDist,AgeWeightsParamNames,n_d, n_a, n_z, N_j, 0, pi_z, d_grid, a_grid, z_grid, ReturnFn, FnsToEvaluate, GeneralEqmEqns, Params, DiscountFactorParamNames, , , , GEPriceParamNames, heteroagentoptions, simoptions, vfoptions);

It’s probably due to the recent update.

1 Like

Will fix Monday, thanks for letting me know (will definitely be from all the internal overhauling, I changed it so simoptions.n_e=0 is now the default, while previously the default was that it was not created)

2 Likes

Should be fixed (was on the example I ran). Thanks for letting me know!

2 Likes