Unverified Commit ffa828a6 authored by Stéphane Adjemian's avatar Stéphane Adjemian Committed by Sébastien Villemot

Fixed multiple periods expected shocks in the case of mshocks.

(cherry picked from commit d8ddd9ef)
parent 81b78fd9
......@@ -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
......
Markdown is supported
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