Verified Commit d8ddd9ef authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed multiple periods expected shocks in the case of mshocks.

parent 2cf5c5d0
......@@ -86,7 +86,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
......
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