Merge branch 'master' of ssh://kirikou.dynare.org/srv/d_kirikou/git/dynare

time-shift
Johannes Pfeifer 2012-07-20 15:55:03 +02:00
commit 01b51a79c4
2 changed files with 4 additions and 2 deletions

View File

@ -258,9 +258,9 @@ if info1 == 1
Z11t = Z(indx_stable_root, indx_stable_root)';
Z21 = Z(indx_explosive_root, indx_stable_root);
Z22 = Z(indx_explosive_root, indx_explosive_root);
if ~isfloat(Z21) && (condest(Z21) > 1e9)
if ~isscalar(Z22) && (condest(Z22) > 1e9)
info(1) = 5;
info(2) = condest(Z21);
info(2) = condest(Z22);
return;
else
gx = - Z22 \ Z21;

View File

@ -525,6 +525,8 @@ options_.risky_steadystate = 0;
% initialize persistent variables in priordens()
priordens([],[],[],[],[],[],1);
% initialize persistent variables in dyn_first_order_solver()
dyn_first_order_solver();
% Set dynare random generator and seed.
set_dynare_seed('default');