Skip to content
Snippets Groups Projects
Verified Commit ffa828a6 authored by Stéphane Adjemian's avatar Stéphane Adjemian Committed by Sébastien Villemot
Browse files

Fixed multiple periods expected shocks in the case of mshocks.

(cherry picked from commit d8ddd9ef)
parent 81b78fd9
Branches
Tags
No related merge requests found
......@@ -90,7 +90,7 @@ if isfield(M_, 'det_shocks')
if ~M_.det_shocks(i).multiplicative
oo_.exo_simul(k,ivar) = v;
else
oo_.exo_simul(k,ivar) = oo_.exo_simul(k,ivar) * v;
oo_.exo_simul(k,ivar) = oo_.exo_simul(k,ivar) .* v;
end
else
if ~M_.det_shocks(i).multiplicative
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment