error: index out of bounds

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

error: index out of bounds

Postby use » Wed Sep 26, 2012 1:32 pm

Dear All,

When I add one more equation (AR(1) process for disturbances), I get the following error and I can't understand where the problem is.
Please, help me with this error:


??? Attempted to access g1(25,64); index out of bounds because size(g1)=[25,63].

Error in ==> model1_dynamic at 215
g1(25, 64)= g1(25, 64)+(-1);

Error in ==> dr1 at 176
[junk,jacobia_] = feval([M_.fname '_dynamic'],z,[oo_.exo_simul ...

Error in ==> resol at 87
[dr,info] = dr1(dr,check_flag);

Error in ==> check at 38
[dr, info] = resol(oo_.steady_state,1);

Error in ==> model1 at 242
check;

Error in ==> dynare at 81
evalin('base',fname) ;
use
 
Posts: 18
Joined: Mon Aug 20, 2012 4:50 pm

Re: error: index out of bounds

Postby jpfeifer » Wed Sep 26, 2012 2:44 pm

As always: please post the mod-file
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests