Unverified Commit 592cd69e authored by Nikola Bokan's avatar Nikola Bokan Committed by Sébastien Villemot
Browse files

Bug-fix: staticmodel type.

parent 5485597a
......@@ -83,7 +83,7 @@ else
oo_.exo_simul = Innovations;
end
staticmodel = sprintf('%s.static', M_.fname);
staticmodel = str2fun(sprintf('%s.static', M_.fname));
% Simulations (call a Newton-like algorithm for each period).
for t=1:samplesize
......@@ -102,4 +102,4 @@ if isdseries(innovations)
initperiod = innovations.dates(1);
end
simulation = [dseries(ysim', initperiod, M_.endo_names(1:M_.orig_endo_nbr)), dseries(xsim, initperiod, M_.exo_names)];
\ No newline at end of file
simulation = [dseries(ysim', initperiod, M_.endo_names(1:M_.orig_endo_nbr)), dseries(xsim, initperiod, M_.exo_names)];
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment