From 29396b0cdae090ec1b9f406fed2cdc3dbd104fb0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Thu, 4 Jul 2019 18:32:55 +0200
Subject: [PATCH] Improve comment about oo_.dr.kstate

---
 matlab/set_state_space.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/matlab/set_state_space.m b/matlab/set_state_space.m
index 209a60b1f1..16ebb5502d 100644
--- a/matlab/set_state_space.m
+++ b/matlab/set_state_space.m
@@ -98,8 +98,8 @@ kmask(i_kmask) = (1:nd);
 % auxiliary equations
 
 % composition of state vector
-% col 1: variable;           col 2: lead/lag in z(t+1);
-% col 3: A cols for t+1 (D); col 4: A cols for t (E)
+% col 1: variable (index in DR-order);  col 2: lead/lag in z(t+1);
+% col 3: A cols for t+1 (D);            col 4: A cols for t (E)
 kstate = [ repmat([1:endo_nbr]',klen-1,1) kron([klen:-1:2]',ones(endo_nbr,1)) ...
            zeros((klen-1)*endo_nbr,2)];
 kiy = flipud(lead_lag_incidence(:,order_var))';
-- 
GitLab