error with RESHAPE

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 with RESHAPE

Postby fedemandel » Fri Apr 06, 2007 7:54 pm

Dear Michel:
after running stoch-simul, I get this error.

??? Error using ==> reshape
To RESHAPE the number of elements must not change.

Error in ==> th_autocovariances at 158
Gamma_y{1} = reshape(imathp_col(1,:),nvar,nvar);

Could you help me with this?
Thanks a lot.
Federico
fedemandel
 
Posts: 4
Joined: Fri Apr 06, 2007 7:49 pm

Postby MichelJuillard » Sat Apr 07, 2007 7:28 am

Dear Federico,

I need your *.mod file to replicate the problem. I will be traveling for two weeks, so I may take some time before answering you.

Kind regards

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Postby fedemandel » Mon Apr 09, 2007 3:11 pm

Dear Michel, I have been working on the code during the last days and discover what the problem was (I found a typo in the model). Thanks again for your help.
fedemandel
 
Posts: 4
Joined: Fri Apr 06, 2007 7:49 pm


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 7 guests