IMFS-MMB / mmb-gui-electron

Electron-vue based GUI of the Macroeconomic Model Database
http://www.macromodelbase.com
Other
7 stars 16 forks source link

Forum reported error: “Brace indexing is not supported for variables of this type.” #130

Closed millazar closed 4 years ago

millazar commented 4 years ago

Do we have any idea what could be a problem here? Or I should start with questions about OS, Matlab/Dynare versions (although the compatibility test was allegedly passed), etc.?

Here is the link to the question and below is the screenshot:

https://mmb.trydiscourse.com/t/reported-error-brace-indexing-is-not-supported-for-variables-of-this-type/111

forum
j2L4e commented 4 years ago

Or I should start with questions about OS, Matlab/Dynare versions (although the compatibility test was allegedly passed), etc.?

Yes, please.

The problem's related to the rule chosen, not the model. We'd need to know that, too.

millazar commented 4 years ago

"Thanks for your prompt reply! You are right. It is due to the policy rule that I specified in a wrong way. Now the problem is fixed. Thank you so much for your kind help!"

It seems to be fine now.

j2L4e commented 4 years ago

It seems like it was a user specified rule. Mixing numeric coefficients (like 0.58) with expression coefficients (like 0.58 * 0.33) used to be a problem that I already fixed in early January via b9901eea41d36e049dcfd0f68a1442bbbdf6ca3f. That fix went in post-3.1.1 though, so it's only available in the nightly build currently.