From 9da263da3a8f86fc9c10f9dd3c03480f23c477b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?=
 <stepan@adjemian.eu>
Date: Mon, 7 Dec 2020 18:38:30 +0100
Subject: [PATCH] Apply d8ddd9ef6 to deterministic exogenous variables.

(cherry picked from commit eceba8d6da77f934ae3fc8e2a3e3ce01212d8ead)
(cherry picked from commit 12ef75314a4d2ba3a36c90cb42476e74e1eec976)
---
 matlab/perfect-foresight-models/make_ex_.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/matlab/perfect-foresight-models/make_ex_.m b/matlab/perfect-foresight-models/make_ex_.m
index 4c8853e86..cb9b9d007 100644
--- a/matlab/perfect-foresight-models/make_ex_.m
+++ b/matlab/perfect-foresight-models/make_ex_.m
@@ -80,7 +80,7 @@ if isfield(M_, 'det_shocks')
             if ~M_.det_shocks(i).multiplicative
                 oo_.exo_det_simul(k,ivar) = v;
             else
-                oo_.exo_det_simul(k,ivar) = oo_.exo_det_simul(k,ivar) * v;
+                oo_.exo_det_simul(k,ivar) = oo_.exo_det_simul(k,ivar) .* v;
             end
         end
     end
-- 
GitLab