Page 1 of 1

Error in 4.2

PostPosted: Mon Jun 06, 2011 3:55 pm
by gbel
Hi,

The function dynare_resolve fails after simulation.

I've worked the trail to: dynare_resolve->resol->dr1->mjdgges which fails because options_.qz_criterium is empty. A simple
Code: Select all
if isempty(options_.qz_criterium)
    options_.qz_criterium = 1+1e-6;
end

solves the problem.

BTW, this problem is caused by the line:
Code: Select all
options_ = options_old;

in stoch_simul.m

Thanks,
Gilles

Re: Error in 4.2

PostPosted: Tue Aug 23, 2011 3:17 pm
by SébastienVillemot
Hi,

Can you give a test case for replicating the problem?

Best,

Re: Error in 4.2

PostPosted: Thu Sep 22, 2011 9:24 pm
by gbel
Hi,

Sorry for the late reply. The code I work on is not public. But I tried it with many models and it always fails.

Basicaly type "dynare_resolve" after runing "dynare somemodel" and it shoud fail.

Gilles

Re: Error in 4.2

PostPosted: Wed Sep 28, 2011 1:58 pm
by SébastienVillemot
Thanks for reporting this.

I have fixed the problem directly within mjdgges. The fix will be incorporated in the next stable release of Dynare.

Best,

Re: Error in 4.2

PostPosted: Wed Sep 28, 2011 6:47 pm
by gbel
Thanks