Additional corrections related to the steady_state operator bug

time-shift
Ferhat Mihoubi 2011-03-18 14:11:00 +01:00
parent c3d653b623
commit 3f48c8723a
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ if options_.block && ~options_.bytecode
ss(M_.blocksMFS{b}) = y;
else
[ss, check] = solve_one_boundary([M_.fname '_static_' int2str(b)], ss, exo, ...
params, M_.blocksMFS{b}, n, 1, 0, b, 0, options_.maxit_, ...
params, [], M_.blocksMFS{b}, n, 1, 0, b, 0, options_.maxit_, ...
options_.solve_tolf, options_.slowc, 0, options_.solve_algo, 1, 0, 0);
end

View File

@ -100,7 +100,7 @@ for it_=start:incr:finish
[r, y, g1, g2, g3] = feval(fname, y, x, params, steady_state, ...
it_, 0);
else
[r, y, g1] = feval(fname, y, x, params, steady_state);
[r, y, g1] = feval(fname, y, x, params);
end;
if(~isreal(r))
max_res=(-(max(max(abs(r))))^2)^0.5;