v4 osr1: correcting the correction ...

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1324 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
michel 2007-06-20 13:57:31 +00:00
parent 9c935698a5
commit 482c5d2c3a
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ function osr1(i_params,i_var,weights)
% check if ys is steady state
fh = str2func([M_.fname '_static']);
if max(abs(feval(fh,oo_.steady_state,exe))) > options_.dynatol
[oo_.dr.ys, check] = dynare_solve([M_.fname '_static'],1,oo_.steady_state,exe);
[oo_.dr.ys, check] = dynare_solve([M_.fname '_static'],oo_.steady_state,1,exe);
if check
error('OLR: convergence problem in DYNARE_SOLVE')
end